ceposta-devops-ose
ceposta-devops-ose copied to clipboard
Gerrit 2.11 can't be started using the gerrit.sh script
When we launch gerrit with the bash script /home/gerrit/site/bin/gerrit.sh
we get this error line 429: echo: write error: Permission denied
To reproduce it, run this command after starting the container interactive mode
docker run -it -p 0.0.0.0:8080:8080 -p 127.0.0.1:29418:29418 --name my-gerrit cmoulliard/gerrit:1.0 bash
bash -x ${GERRIT_HOME}/site/bin/gerrit.sh start
The workaround is to launch gerrit using the java cmd