Question
How do I access a python flask app running in a container on localhost?
I followed this tutorial on how to build a flask app that runs in docker that can be accessed on localhost and the instructions for building Docker are incorrect because after starting the app, when I visit localhost:6000 there is nothing listening there.
My question is, how do I access the flask app in the Docker container on local host?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×