Docker Community Forums

Share and learn in the Docker community.

Unable to expose a port in docker running on a Windows machine

docker
dockerhub

(Vasanti) #1

I am running a docker container on a Windows machine and I need to open a port, so that I can connect it to my local machine’s web browser.

I have installed Jupyter notebook in the container and on running it from the running container, the following is displayed in the docker.

(I assume that the notebook is connected and I can access it using my docker-machine’s IP address)

However, on navigating to http://192.168.99.101:8888/ in my browser, the error message “This site cannot be reached” is displayed.

Any help is appreciated.