I'm trying to publish a tmpnb server, but am stuck. Following the Quickstart
here, I can run the server locally and access it at
172.17.0.1:8000.
However, I can't access the server remotely. I've tried adding -p 8000:8000 when I create the proxy container with the following command:
docker run -it -p 8000:8000 --net=host -d -e CONFIGPROXY_AUTH_TOKEN=$TOKEN --name=proxy jupyter/configurable-http-proxy --default-target
http://127.0.0.1:9999
but when I go to the <machine's ip address>:8000 my browser still returns "This site can't be reached."
The logs for proxy are:
docker logs --details 45d836f98450
I think my problem is in understanding how to publish the proxy port (rather than an issue with the network) because I can run the minimal-notebook image with <docker run -d -it --rm -p 8888:8888 jupyter/minimal-notebook> and access it at <machine's ip address>:8888.
What am I missing?
I'm working on an Ubuntu 16.04 machine with Docker 17.03.0-ce
Thanks