Virtualization and containers basics
Operating Systems · Engineering
Study notes
Ship a Python app: write a Dockerfile (FROM python:3.12, COPY app, RUN pip install, CMD python app.py), docker build -t myapp ., docker run -p 8000:8000 myapp. The same image runs on any machine with Docker: no 'works on my machine' ever again. Kubernetes then scales it to 10 replicas.