From f7fe2f0992126d45802a376b6da760d4e2b8607c Mon Sep 17 00:00:00 2001 From: "Kai Qiang Wu(Kennan)" Date: Thu, 18 Feb 2016 02:58:21 +0000 Subject: [PATCH] Add sudo for related command The du need sudo to perform to get correct results. Signed-off-by: Kai Qiang Wu(Kennan) --- docs/userguide/storagedriver/imagesandcontainers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/userguide/storagedriver/imagesandcontainers.md b/docs/userguide/storagedriver/imagesandcontainers.md index e4293370f4..9a8e8cb595 100644 --- a/docs/userguide/storagedriver/imagesandcontainers.md +++ b/docs/userguide/storagedriver/imagesandcontainers.md @@ -110,7 +110,7 @@ single 8GB general purpose SSD EBS volume. The Docker data directory centos latest c8a648134623 4 weeks ago 196.6 MB ubuntu 15.04 c8be1ac8145a 7 weeks ago 131.3 MB - $ du -hs /var/lib/docker + $ sudo du -hs /var/lib/docker 2.0G /var/lib/docker $ time docker run --rm -v /var/lib/docker:/var/lib/docker docker/v1.10-migrator