Difference between revisions of "Docker system df --verbose"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
<code>[[docker system df]]</code> [https://docs.docker.com/engine/reference/commandline/system_df/ ref]
  
 
  [[docker system df]] --verbose
 
  [[docker system df]] --verbose
<pre>
+
docker system df -v | grep -A100 "VOLUME NAME"
Images space usage:
 
  
REPOSITORY  TAG      IMAGE ID      CREATED        SIZE      SHARED SIZE  UNIQUE SIZE  CONTAINERS
 
ubuntu      latest    1318b700e415  42 hours ago  72.78MB  0B            72.78MB      1
 
  
Containers space usage:
+
STATUS: UP ... | Exited ... | Created
 +
 
 +
== Example ==
 +
[[docker system df]] --verbose
 +
 +
Images space usage:
 +
 +
REPOSITORY  TAG      IMAGE ID      CREATED        SIZE      SHARED SIZE  UNIQUE SIZE  CONTAINERS
 +
ubuntu      latest    1318b700e415  42 hours ago  72.78MB  0B            72.78MB      1
 +
 +
Containers space usage:
 +
 +
CONTAINER ID  IMAGE    COMMAND  LOCAL VOLUMES  SIZE      CREATED        STATUS        NAMES
 +
4d34e1e42f0d  ubuntu    "bash"    0              19B      3 minutes ago  Up 3 minutes  Ubuntu_container_1
 +
 +
Local Volumes space usage:
 +
 +
VOLUME NAME                                                        LINKS    SIZE
 +
6ac2b5043b5d8ae9df2059ca1629e804dc3e12662cd56477f00c65d97b01b7b6  0        209.7MB
 +
c18f1b01d8280abb232d74c15c346c216d984c338541c6aac3ec2af405dc73d0  0        211B
 +
your_named_volume_1                                                1        1.129
 +
 +
Build cache usage: 0B
 +
 +
CACHE ID  CACHE TYPE  SIZE      CREATED  LAST USED  USAGE    SHARED
  
CONTAINER ID  IMAGE    COMMAND  LOCAL VOLUMES  SIZE      CREATED        STATUS        NAMES
 
4d34e1e42f0d  ubuntu    "bash"    0              19B      3 minutes ago  Up 3 minutes  Ubuntu_container_1
 
  
Local Volumes space usage:
 
  
VOLUME NAME                                                        LINKS    SIZE
 
6ac2b5043b5d8ae9df2059ca1629e804dc3e12662cd56477f00c65d97b01b7b6  0        209.7MB
 
c18f1b01d8280abb232d74c15c346c216d984c338541c6aac3ec2af405dc73d0  0        211B
 
your_named_volume_1                                                1        1.129
 
  
Build cache usage: 0B
 
  
CACHE ID   CACHE TYPE   SIZE      CREATED   LAST USED   USAGE    SHARED
+
Build cache usage: 2.783GB
</pre>
+
 +
CACHE ID       CACHE TYPE     SIZE      CREATED       LAST USED     USAGE    SHARED
 +
123456770sqh  regular        68.5MB    2 months ago  2 months ago  2        false
 +
1230i00q3t9t  regular        1.25GB    2 months ago  2 months ago  1        false
 +
1l1234556vn8  [[source.local]]  0B        2 months ago  2 months ago  3        false
  
== Related commands ==
+
== Related ==
 
* <code>[[docker system df]]</code>
 
* <code>[[docker system df]]</code>
 
* <code>[[docker container ls]]</code>
 
* <code>[[docker container ls]]</code>
 +
* <code>[[No space left on device]]</code>
 +
* [[dangling]]
 +
* <code>[[docker ps --size]]</code>
  
 
== See also ==
 
== See also ==
* {{docker}}
+
* {{docker system df}}
 +
* {{docker system}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 12:26, 29 November 2023

docker system df ref

docker system df --verbose
docker system df -v | grep -A100 "VOLUME NAME"


STATUS: UP ... | Exited ... | Created

Example[edit]

docker system df --verbose

Images space usage:

REPOSITORY   TAG       IMAGE ID       CREATED        SIZE      SHARED SIZE   UNIQUE SIZE   CONTAINERS
ubuntu       latest    1318b700e415   42 hours ago   72.78MB   0B            72.78MB       1

Containers space usage:

CONTAINER ID   IMAGE     COMMAND   LOCAL VOLUMES   SIZE      CREATED         STATUS         NAMES
4d34e1e42f0d   ubuntu    "bash"    0               19B       3 minutes ago   Up 3 minutes   Ubuntu_container_1

Local Volumes space usage:

VOLUME NAME                                                        LINKS     SIZE
6ac2b5043b5d8ae9df2059ca1629e804dc3e12662cd56477f00c65d97b01b7b6   0         209.7MB
c18f1b01d8280abb232d74c15c346c216d984c338541c6aac3ec2af405dc73d0   0         211B
your_named_volume_1                                                1         1.129

Build cache usage: 0B

CACHE ID   CACHE TYPE   SIZE      CREATED   LAST USED   USAGE     SHARED



Build cache usage: 2.783GB

CACHE ID       CACHE TYPE     SIZE      CREATED        LAST USED      USAGE     SHARED
123456770sqh   regular        68.5MB    2 months ago   2 months ago   2         false
1230i00q3t9t   regular        1.25GB    2 months ago   2 months ago   1         false
1l1234556vn8   source.local   0B        2 months ago   2 months ago   3         false

Related[edit]

See also[edit]

  • https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_info/
  • https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_events/
  • Advertising: