Resources#
To get started: https://docs.docker.com/get-started
Container images repositories#
Share images, automate workflows, and more with a free Docker ID at Docker Hub
Another repository of docker images: Quay
Install instructions and best practices#
How to install: https://docs.docker.com/engine/install/
Building images: https://docs.docker.com/build/building/best-practices/
Choose the right base image
Rebuild your images often
Exclude with .dockerignore
Create ephemeral containers
Don’t install unnecessary packages
Sort multi-line arguments
Dockerfile instructions
Reference: https://docs.docker.com/reference/dockerfile/
Code samples: https://docs.docker.com/reference/samples/
Compose: https://docs.docker.com/compose/how-tos/environment-variables/best-practices/
WSL: https://docs.docker.com/desktop/features/wsl/best-practices/