- Clone The Repository
- Run the following commands to build and run image-
docker build -t flask-server:latest .
docker image ls
docker run -p 5000:5000 flask-server:latest
- Now to see the running containers-
docker ps
- Now to get ip of the container-
docker inspect <container_id>