Browse code

Merge pull request #9209 from SvenDowideit/shared-disk-space-images

If an image has more than one repo name or tag, it'll be listed more tha...

Sven Dowideit authored on 2014/11/22 07:07:45
Showing 1 changed files
... ...
@@ -11,7 +11,7 @@ or execute `docker help`:
11 11
       Usage: docker [OPTIONS] COMMAND [arg...]
12 12
         -H, --host=[]: The socket(s) to bind to in daemon mode, specified using one or more tcp://host:port, unix:///path/to/socket, fd://* or fd://socketfd.
13 13
 
14
-      A self-sufficient runtime for linux containers.
14
+      A self-sufficient runtime for Linux containers.
15 15
 
16 16
       ...
17 17
 
... ...
@@ -111,7 +111,7 @@ requiring either `root` permission, or `docker` group membership.
111 111
 If you need to access the Docker daemon remotely, you need to enable the `tcp`
112 112
 Socket. Beware that the default setup provides un-encrypted and un-authenticated
113 113
 direct access to the Docker daemon - and should be secured either using the
114
-[built in https encrypted socket](/articles/https/), or by putting a secure web
114
+[built in HTTPS encrypted socket](/articles/https/), or by putting a secure web
115 115
 proxy in front of it. You can listen on port `2375` on all network interfaces
116 116
 with `-H tcp://0.0.0.0:2375`, or on a particular network interface using its IP
117 117
 address: `-H tcp://192.168.59.103:2375`. It is conventional to use port `2375`
... ...
@@ -738,19 +738,24 @@ decrease disk usage, and speed up `docker build` by
738 738
 allowing each step to be cached. These intermediate layers are not shown
739 739
 by default.
740 740
 
741
+An image will be listed more than once if it has multiple repository names
742
+or tags. This single image (identifiable by its matching `IMAGE ID`)
743
+uses up the `VIRTUAL SIZE` listed only once.
744
+
741 745
 #### Listing the most recently created images
742 746
 
743 747
     $ sudo docker images | head
744
-    REPOSITORY                    TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
745
-    <none>                        <none>              77af4d6b9913        19 hours ago        1.089 GB
746
-    committest                    latest              b6fa739cedf5        19 hours ago        1.089 GB
747
-    <none>                        <none>              78a85c484f71        19 hours ago        1.089 GB
748
-    docker                        latest              30557a29d5ab        20 hours ago        1.089 GB
749
-    <none>                        <none>              0124422dd9f9        20 hours ago        1.089 GB
750
-    <none>                        <none>              18ad6fad3402        22 hours ago        1.082 GB
751
-    <none>                        <none>              f9f1e26352f0        23 hours ago        1.089 GB
752
-    tryout                        latest              2629d1fa0b81        23 hours ago        131.5 MB
753
-    <none>                        <none>              5ed6274db6ce        24 hours ago        1.089 GB
748
+    REPOSITORY                TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
749
+    <none>                    <none>              77af4d6b9913        19 hours ago        1.089 GB
750
+    committ                   latest              b6fa739cedf5        19 hours ago        1.089 GB
751
+    <none>                    <none>              78a85c484f71        19 hours ago        1.089 GB
752
+    docker                    latest              30557a29d5ab        20 hours ago        1.089 GB
753
+    <none>                    <none>              5ed6274db6ce        24 hours ago        1.089 GB
754
+    postgres                  9                   746b819f315e        4 days ago          213.4 MB
755
+    postgres                  9.3                 746b819f315e        4 days ago          213.4 MB
756
+    postgres                  9.3.5               746b819f315e        4 days ago          213.4 MB
757
+    postgres                  latest              746b819f315e        4 days ago          213.4 MB
758
+
754 759
 
755 760
 #### Listing the full length image IDs
756 761