bgruening / docker-galaxy

:whale::bar_chart::books: Docker Images tracking the stable Galaxy releases.
http://bgruening.github.io/docker-galaxy
MIT License
226 stars 134 forks source link

can't connect to Galaxy over network #482

Closed nbel88 closed 5 years ago

nbel88 commented 5 years ago

I using a galaxy-docker-image for a couple of days, it works well in a local network but I can not access from an external network. Can I open galaxy container remotely? If so, what exactly should I set. PS:

bgruening commented 5 years ago

@nbel88 how do you start your Docker instance?

bgruening commented 5 years ago

A few things you can try:

docker run --net=host ... docker run -p 0.0.0.0:80:80 ....

nbel88 commented 5 years ago

I run the instance using this command: sudo docker run -d -p 8080:80 \ -v /home/user/galaxy_storage/:/export/ \ --name galaxy-instance \ bgruening/galaxy-stable

nbel88 commented 5 years ago

I found that the port 80 is used by nginx, I killed the process It works now using " docker run -p 0.0.0.0:80:80 "

Thanks a lot ;)

bgruening commented 5 years ago

Cool!