Explorar o código

Update small note about layer limitation
Docker-DCO-1.1-Signed-off-by: Michaël Pailloncy <mpapo.dev@gmail.com> (github: mpapo)

Michaël Pailloncy %!s(int64=11) %!d(string=hai) anos
pai
achega
2a230729da
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      docs/sources/userguide/dockerimages.md

+ 3 - 5
docs/sources/userguide/dockerimages.md

@@ -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.