Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (10 loc) · 468 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 468 Bytes

Docker, Python, and You

Slides

Build

Builds the image, after this it's immutable in the current form:

$ docker build -t myapp .

Note, there is an implicit tag of latest.

Run

Runs the image (making a container), since docker does network isolation you need to explicitly list the exposed port(s):

$ docker run --rm -it -p 5000:5000 myapp