Sonarqube failing to start.

Kel Solaar
Starting out
Posts: 16
Joined: Sun Apr 17, 2011 2:11 am

Sonarqube failing to start.

Postby Kel Solaar » 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:

[...]
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


Those are happening when the following line is executed: https://github.com/SonarSource/docker-s ... /run.sh#L9

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.

grantlittle
First post
Posts: 1
Joined: Thu Jul 21, 2011 8:42 pm

Re: Sonarqube failing to start.

Postby grantlittle » Fri Jul 20, 2018 10:10 pm

Did you get an answer to this. I've had similar issues installing a number of containers. The out of the box official elasticsearch container for example fails to start with a similar thing when starting it

chown: changing ownership of '/usr/share/elasticsearch/logs': Operation not permitted

I have no problems with these containers on a typical docker-ce installation so it sounds very similar to your issue


Return to “Container Station”

Who is online

Users browsing this forum: No registered users and 0 guests