Update small note about layer limitation

Docker-DCO-1.1-Signed-off-by: Michaël Pailloncy <mpapo.dev@gmail.com> (github: mpapo)
This commit is contained in:
Michaël Pailloncy 2014-07-15 21:48:08 +02:00
parent d91d381856
commit 2a230729da
1 changed files with 3 additions and 5 deletions

View File

@ -329,11 +329,9 @@ instructions have executed we're left with the `324104cde6ad` image
containers will get removed to clean things up.
> **Note:**
> Due to a AUFS limitation, an image can't have more than 127 layers
> (see [this PR](https://github.com/dotcloud/docker/pull/2897)).
> This means that a Dockerfile can't create more than 127 containers
> during a build (each RUN command creates a new container).
> An image flatten strategy is discussed [here](https://github.com/dotcloud/docker/issues/332).
> An image can't have more than 127 layers regardless of the storage driver.
> This limitation is set globally to encourage optimization of the overall
> size of images.
We can then create a container from our new image.