diff --git a/docs/reference/commandline/build.md b/docs/reference/commandline/build.md index 42c3ecf65f..9c2c71b489 100644 --- a/docs/reference/commandline/build.md +++ b/docs/reference/commandline/build.md @@ -438,7 +438,7 @@ Specifying the `--isolation` flag without a value is the same as setting `--isol Once the image is built, squash the new layers into a new image with a single new layer. Squashing does not destroy any existing image, rather it creates a new -image with the content of the squshed layers. This effectively makes it look +image with the content of the squashed layers. This effectively makes it look like all `Dockerfile` commands were created with a single layer. The build cache is preserved with this method. diff --git a/man/docker-build.1.md b/man/docker-build.1.md index 4beee88e4a..5676cb80bd 100644 --- a/man/docker-build.1.md +++ b/man/docker-build.1.md @@ -62,7 +62,7 @@ set as the **URL**, the repository is cloned locally and then sent as the contex **Experimental Only** Once the image is built, squash the new layers into a new image with a single new layer. Squashing does not destroy any existing image, rather it creates a new - image with the content of the squshed layers. This effectively makes it look + image with the content of the squashed layers. This effectively makes it look like all `Dockerfile` commands were created with a single layer. The build cache is preserved with this method.