Running a docker container on a GVL instance

Hi, I am trying to access a docker container running a web app on my instance, I can hit the application using firefox loaded on the instance, using localhost:4567. But I cannot connect to it from the outside world.

this is the docker command

sudo docker run --rm -ti -p 0.0.0.0:4567:4567 -v $(pwd)/db:/db wurmlab/sequenceserver

is there a firewall or something on CLIMB that blocks this?

Yes, there are firewalls in front of all of the CLIMB sites, which are in turn behind university firewalls at all sites.

Ports 22, 80 and 443 are accessible from the outside world.

thanks. I think i have actually solved it by using a proxy and rewrite on nginx, so just adding this

location /blast/ {
    rewrite ^/blast(.*)$ /$1 break;
   proxy_pass http://localhost:4567;
}

in this file:

/etc/nginx/sites-enabled/sequenceserver.locations`

and then htting it with

http://<host>/blast/

thanks

2 Likes