Image Layers

  • Each step in the Docker build creates a "layer"
  • Docker looks for changes before starting from a specific build line
  • Starts from the earliest line with a change
  • You should be strategic about the order of commands
  • Downloads will only pull updated layers
  • This is really nice for updating a container

9 / 14