VMs v/s Dockers

Docker File

#format: INSTRUCTION arguments 
FROM python:3.8
LABEL maintainer="your-name"
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
CMD ["python", "app.py"]

Docker Image

# build an image
# OPTIONS - optional;  define extra configuration
# PATH - required;  sets the location of the Dockefile and  any referenced files 
docker build [OPTIONS] PATH

# Where OPTIONS can be:
-t, --tag - set the name and tag of the image
-f, --file - set the name of the Dockerfile
--build-arg - set build-time variables

# Find all valid options for this command 
docker build --help

Docker Registry

Kubernetes

https://youtu.be/cC46cg5FFAM