Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 430 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 430 Bytes

docker-flask

list of docker existing container(s)

c:> docker images

build the container

c:> docker build -t flask-test:latest .

Run the container

c:> docker run -d -p 5000:5000 flask-test

how to connect to running container

c:> docker ps -a
get the container name. (e.g gallant_villani)
c:> docker exec -it gallant_villani /bin/bash

Stop the container

c:> docker stop gallant_villani