Docker
7 questions
What is Docker?
•Containerization.
•Isolation.
•Dockerfile.
•docker build.
•docker run.
docker-compose?
•Orchestration.
•yml file.
•docker-compose up.
•docker-compose down.
•volumes.
Image optimization?
•Multi-stage.
•Alpine.
•.dockerignore.
•Combining RUN commands.
•Cache cleanup.
Docker: how to write Dockerfile for Node/Python applications?
Start with reproducibility: minimal example, version, steps. This is half of debugging.
Docker: how to work with volumes and safely store data?
Practice for «Docker»: write a test/check that breaks, then fix the code. This way you don't just «treat symptoms».
Docker: how to publish images to registry and version them?
Answer about «Docker»: read the documentation and errors thoroughly. The error message almost always indicates what is wrong.
Docker: how to debug containers and network between services?
For «Docker»: logging, profiling, and working with metrics are useful. Optimization without measurements is guesswork.