Difference between revisions of "Docker system df"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
  
 
== Examples ==
 
== Examples ==
<pre>
+
 
docker system df
+
docker system df
TYPE                TOTAL              ACTIVE              SIZE                RECLAIMABLE
+
TYPE                TOTAL              ACTIVE              SIZE                RECLAIMABLE
Images              20                  9                  11.57GB            5.315GB (45%)
+
Images              20                  9                  11.57GB            5.315GB (45%)
Containers          9                  9                  1.02GB              0B (0%)
+
Containers          9                  9                  1.02GB              0B (0%)
Local Volumes      9                  8                  3.255GB            3.037GB (93%)
+
[[Local Volumes]]       9                  8                  3.255GB            3.037GB (93%)
Build Cache        0                  0                  0B                  0B
+
Build Cache        0                  0                  0B                  0B
</pre>
 
  
 
For more complete information use <code>-v</code> flag:
 
For more complete information use <code>-v</code> flag:

Revision as of 11:38, 31 March 2021

docker system df or docker system df --verbose Show docker disk usage

Depending on your system disk usage command can take long time to display results.

https://docs.docker.com/engine/reference/commandline/system_df/. Since API 1.25+ (v 1.13) 01/2017, announcement


Examples

docker system df
TYPE                TOTAL               ACTIVE              SIZE                RECLAIMABLE
Images              20                  9                   11.57GB             5.315GB (45%)
Containers          9                   9                   1.02GB              0B (0%)
Local Volumes       9                   8                   3.255GB             3.037GB (93%)
Build Cache         0                   0                   0B                  0B

For more complete information use -v flag: docker system df --verbose docker system df -v


docker system df
Error response from daemon: a disk usage operation is already running

Related terms

See also

  • 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: