Skip to main content

One post tagged with "Dockerfiles"

View All Tags

Docker — Best Practices and Pro Tips for Writing Dockerfiles

· 9 min read
Brent De Bisschop
Student Odisee => Opleiding Bachelor Elektronica-ICT
Bronnen

Bron: artikel integraal overgenomen van DevOps Mojo
Origineel auteur: Ashish Patel

Production Pro Tips: Overview of best practices for writing Dockerfile.

docker-tips

Below is the list of recommended best practices and methods for building efficient images.

Build the smallest image possible.

Building a smaller image offers advantages such as faster upload and download times. This is important for the cold start time of a pod in Kubernetes: the smaller the image, the faster the node can download it.