From 2a230729dae91a54cfe617843b1dd7141ad51948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Pailloncy?= Date: Tue, 15 Jul 2014 21:48:08 +0200 Subject: [PATCH] =?UTF-8?q?Update=20small=20note=20about=20layer=20limitat?= =?UTF-8?q?ion=20Docker-DCO-1.1-Signed-off-by:=20Micha=C3=ABl=20Pailloncy?= =?UTF-8?q?=20=20(github:=20mpapo)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sources/userguide/dockerimages.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/sources/userguide/dockerimages.md b/docs/sources/userguide/dockerimages.md index 505636105..26f969abe 100644 --- a/docs/sources/userguide/dockerimages.md +++ b/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.