Browse code

Fix example about ps and linked containers

Signed-off-by: Alexander Morozov <lk4d4@docker.com>

Alexander Morozov authored on 2015/01/16 04:06:35
Showing 1 changed files
... ...
@@ -1433,12 +1433,12 @@ The `docker rename` command allows the container to be renamed to a different na
1433 1433
       -s, --size=false      Display total file sizes
1434 1434
       --since=""            Show created since Id or Name, include non-running.
1435 1435
 
1436
-Running `docker ps` showing 2 linked containers.
1436
+Running `docker ps --no-trunc` showing 2 linked containers.
1437 1437
 
1438 1438
     $ sudo docker ps
1439
-    CONTAINER ID        IMAGE                        COMMAND                CREATED              STATUS              PORTS               NAMES
1440
-    4c01db0b339c        ubuntu:12.04                 bash                   17 seconds ago       Up 16 seconds                           webapp
1441
-    d7886598dbe2        crosbymichael/redis:latest   /redis-server --dir    33 minutes ago       Up 33 minutes       6379/tcp            redis,webapp/db
1439
+    CONTAINER ID                                                            IMAGE                        COMMAND                CREATED              STATUS              PORTS               NAMES
1440
+    f7ee772232194fcc088c6bdec6ea09f7b3f6c54d53934658164b8602d7cd4744        ubuntu:12.04                 bash                   17 seconds ago       Up 16 seconds                           webapp
1441
+    d0963715a061c7c7b7cc80b2646da913a959fbf13e80a971d4a60f6997a2f595        crosbymichael/redis:latest   /redis-server --dir    33 minutes ago       Up 33 minutes       6379/tcp            redis,webapp/db
1442 1442
 
1443 1443
 `docker ps` will show only running containers by default. To see all containers:
1444 1444
 `docker ps -a`