Gerrit container supporting volume for gerrit home (it is like gerrit installed using apt). Easy start. Configuration and backup using volume. Should work on kubernetes. Totally unofficial container.
Ports in container:
- 29418
- 8080
Volume in container:
- /var/gerrit
Volume is home directory of gerrit. If volume on host is empty, it will be filled with default installation. Otherwise, gerrit in container will try to use the existing content.
docker build . -t atudomain/gerrit:latest
docker run -d -P -v /opt/gerrit:/var/gerrit atudomain/gerrit:latest
docker run -d -p 29418:29418 -p 8080:8080 -v /opt/gerrit:/var/gerrit atudomain/gerrit:latest