Skip to content

Commit

Permalink
Merge pull request #97 from praqma-training/JKrag-patch-1
Browse files Browse the repository at this point in the history
Fix description of commands that create new layers
  • Loading branch information
Michael Frikke Madsen authored Aug 27, 2019
2 parents 3dfdc7a + 81aa11e commit dad6e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labs/07-building-an-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Head over to `http://localhost:8888` or your server's URL and your app should be

## and layers

When dealing with docker images, a layer, or image layer is a change on an image, or an intermediate image. Every command you specify (FROM, RUN, COPY, etc.) in your Dockerfile causes the previous image to change, thus creating a new layer. You can think of it as staging changes when you're using Git: You add a file's change, then another one, then another one...
When dealing with docker images, a layer, or image layer is a change on an image, or an intermediate image. Every time you run one of the commands RUN, COPY or ADD in your Dockerfile it causes the previous image to change, thus creating a new layer. You can think of it as staging changes when you're using Git: You add a file's change, then another one, then another one...

Consider the following Dockerfile:

Expand Down

0 comments on commit dad6e33

Please sign in to comment.