Accessing Container From The "Docker Host"

Hi All,

My apologies if this has been asked before, I have been trying to figure out how the instructor accessed resources from Docker containers through the “Docker host” in the KodeKloud tutorial. For the Jenkins lesson he opened what seemed to be an RDP to a Virtual Machine and simply accessed Jenkins from the browser using the container’s internal IP of

Later in the demo of building an image to run the Flask app, he started an Ubuntu container by running “docker run -it ubuntu bash” and then installed Python, Flask, created his app, etc. Again the instructor switched to his “Docker host” which seemed to be an RDP to a Virtual Machine and he could access the Flask app through the browser.

In both of these examples there was no port mapping or exposure, but he was able to access these resources. I’m unsure why I’m not able to do the same with running Docker on my Windows machine (which would be the “host”, right?) and accessing resources the same way.

The only way I could think of this working would be to create a container that runs an operating system that I could remote into - as this container would exist inside Docker’s bridge network and could access the other containers. However, in the lesson about the Flask app he ran “docker ps” which showed no active containers running before he launched the Ubuntu container I mentioned above.

Thank you so much for your time reading my question, I truly hope this isn’t a duplicate question asked before!

Elijah W