higlass / higlass-docker

Builds a docker container wrapping higlass-server and higlass-client in nginx
MIT License
32 stars 14 forks source link

Docker container for higlass-docker exits immediately on start #164

Closed bnelsj closed 4 years ago

bnelsj commented 4 years ago

Hi, I'm having an issue with running the higlass-docker container. It started last week, and persists after a clean installation. When I run the basic command to start the container:

docker run --detach \
--publish 8888:80 \
--volume ~/hg-data:/data \
--volume ~/hg-tmp:/tmp \
--name higlass-container \
higlass/higlass-docker

The container is immediately stopped. From the ps and log commands, I see that /usr/bin/tini -- supervisord -n was the last command, which logged this error: /usr/bin/python: can't open file '/usr/bin/supervisord': [Errno 13] Permission denied I'm not aware of any permission changes that have been made to this file. Any suggestions?

pkerpedjiev commented 4 years ago

Hey, I just tried this locally with the the latest Docker container and didn't encounter the issue. Which operating system are you using?

bnelsj commented 4 years ago

I'm on Ubuntu 18.04.

pkerpedjiev commented 4 years ago

I just tried it on Ubuntu and didn't encounter the issue. What version of the higlass-docker container are you running? Also, a silly question, have you tried doing sudo docker run ...?

bnelsj commented 4 years ago

I've tried this on the latest version and version and v0.6.1 as recommended here. Results are the same for both. I have tried it with sudo, and it didn't make a difference. I am able to run docker run hello-world successfully.

pkerpedjiev commented 4 years ago

Hmm. I'm not entirely sure. If you want, message me on our Slack channel and we can try to work through the problem interactively.

http://bit.ly/higlass-slack

bnelsj commented 4 years ago

I managed to resolve this by removing my ubuntu snap installation of docker in favor of the standard installation method here. Thanks to @pkerpedjiev for the help!