Member-only story
Python HOW: Starting with Docker

Docker helps you to package up your project with all of the dependencies needed to run it from anywhere
“Build, share and run any application, anywhere!”
Is it a Docker image or a container? 😕
Let’s clear this out straight away. You first build a Docker image by reading a set of instructions from a Dockerfile
. Once you run this image, it’s called a container
Docker Engine 🚒
To do any thing Docker, you first need to install the Docker Engine. Docker Engine is available on a variety of Linux platforms, Mac and Windows through Docker Desktop, Windows Server, and as a static binary installation. You can have a look here and choose the one that works for your OS
To check that you have the engine installed, open a terminal and run docker version
Project Structure 📂
Assume your project has the following structure: