filmov
tv
HTCW Podcast #85 - Docker best practices 19 tips and ticks
Показать описание
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
/** How to code well programming courses */
/** How to code well podcast */
/** Support the show */
/** Become a channel member */
/** Follow */
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
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
/** How to code well programming courses */
/** How to code well podcast */
/** Support the show */
/** Become a channel member */
/** Follow */
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