Sonarqube failing to start.
Posted: Wed Jul 11, 2018 6:04 pm
Hi,
I'm trying to run Sonarqube, the container is created successfully but upon running I get a ton of `chown` errors:
I'm a bit unclear why it does that though.
Obviously, spawning a bash shell in the container (docker run -it --rm sonarqube bash) and running the chown command (chown -R sonarqube:sonarqube $SONARQUBE_HOME) yields the same result.
The container works fine on my laptop.
I'm trying to run Sonarqube, the container is created successfully but upon running I get a ton of `chown` errors:
Those are happening when the following line is executed: https://github.com/SonarSource/docker-s ... /run.sh#L9[...]
chown: changing ownership of '/opt/sonarqube/web/js': Operation not permitted
chown: changing ownership of '/opt/sonarqube/web/mstile-512x512.png': Operation not permitted
chown: changing ownership of '/opt/sonarqube/web/robots.txt': Operation not permitted
chown: changing ownership of '/opt/sonarqube/web': Operation not permitted
chown: changing ownership of '/opt/sonarqube': Operation not permitted
I'm a bit unclear why it does that though.
Obviously, spawning a bash shell in the container (docker run -it --rm sonarqube bash) and running the chown command (chown -R sonarqube:sonarqube $SONARQUBE_HOME) yields the same result.
The container works fine on my laptop.