These steps launch containers:
docker run -d --restart="unless-stopped" -v "$HOME/.gitbucket:/root/.gitbucket" --name gitbucket -p 8080:8080 harupong/gitbucket
docker volume create --name gb-data
docker run -d --restart="unless-stopped" -v gb-data:/root/.gitbucket --name gitbucket -p 8080:8080 harupong/gitbucket
docker start <ID of stopped container> to restart it.
Execute the docker run command described above that fits your use case.
If you are keeping your data in your $HOME directory, then just make a copy of .gitbucket directory as backup.
If you've created a docker volume for your data, then read the official document to properly backup the volume.
Content type
Image
Digest
Size
78 MB
Last updated
over 10 years ago
docker pull harupong/gitbucket