I showcase how we can run a simple flask app that prints "Hello World!" to the screen from a docker container.
Commands:
Build a docker image:
docker build -t [tag] [dockerfile position]
Create and run Docker container
docker run -d -p [host port]:[container port] [docker image]
How to see all images
docker images
How to see all containers
docker ps
My channel publishes videos regarding programming, software engineering, especially python, Java and JavaFX. If that is what you are looking for then do not hesitate to join me on this journey!
Subscribe to my YouTube channel:
/ @randomcode_0