Uses the Alpine image and sets up a container with gitbucket installed.
docker run -p 8080:8080 -p 29418:29418 hearstat/alpine-gitbucket
This container stores the data in /opt/gitbucket. You will probably want to make that a persistent volume (recommended):
docker run -p 8080:8080 -p 29418:29418 -v /you/path:/opt/gitbucket hearstat/alpine-gitbucket
or only mount the plugins folder
docker run -p 8080:8080 -p 29418:29418 -v /you/path:/opt/gitbucket/plugins hearstat/alpine-gitbucket
Mount the config file
docker run -p 8080:8080 -p 29418:29418 -v /you/path/gitbucket.conf:/opt/gitbucket/gitbucket.conf hearstat/alpine-gitbucket
To build the image, do the following:
% docker build github.com/hearstat/docker-gitbucket
A prebuilt container is available in the docker index.
% docker pull hearstat/alpine-gitbucket
Content type
Image
Digest
sha256:101f7bfe2…
Size
132.2 MB
Last updated
over 10 years ago
docker pull hearstat/alpine-gitbucket