Containers

What are the pros and cons of squashing images?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Pros:

  • Smaller image
  • Reducing number of layers (especially if the image has lot of layers) Cons:
  • No sharing of the image layers
  • Push and pull can take more time (because no matching layers found on target)