Docker is a fantastic tool to have in your web development tool box. Here are 19 Docker tips and techniques that I wish I knew when I started using Docker.
1) Use Docker Compose even if you have one container
2) Learn the difference between a bind mount and a data volume
3) Use the —rm flag for creating one off scripts in a container
4) Use a Docker ignore file
5) Use multi stage builds
6) Use Docker system prune to remove dead and unused Docker objects
7) Use Dive to see what can be removed
8) Don’t carry build tools in production
9) Learn the difference between ARG and ENV
Show notes: https://howtocodewell.net/podcast/epi...
/** How to code well programming courses */
Programming courses https://howtocodewell.net/courses
Linux Bash for beginners https://howtocodewell.net/course/linu...
PHP MySQLi https://howtocodewell.net/course/php-...
PHP CLI basics https://howtocodewell.net/course/php-...
PHP strings for beginners https://howtocodewell.net/course/php-...
Docker for beginners https://howtocodewell.net/course/html...
HTML for beginners https://howtocodewell.net/course/html...
/** How to code well podcast */
Archive https://howtocodewell.net/podcast
Spotify https://open.spotify.com/show/6zapPUK...
/** Support the show */
Patreon / howtocodewell
Buy me a coffee https://buymeacoffee.com/howtocodewell
/** Become a channel member */
Join / @howtocodewell
Member only videos • Members-only videos
/** Follow */
Twitter / howtocodewell
Instagram / howtocodewell
Facebook / howtocodewell
Contact form https://howtocodewell.net/contact
Disclaimer: Links included in this description might be affiliate links. If you purchase a product or service with links that I provide I may receive a small commission. There is no additional charge to you.
Thank you for supporting How to code well
コメント