Difference between revisions of "Docker system df"
Jump to navigation
Jump to search
↑ https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_info/
↑ https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_events/
(40 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <code>[[docker system]] df</code> | + | {{lc}} |
+ | <code>[[docker system]] df</code> or <code>[[docker system df --verbose]]</code> 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/. [[Docker Engine release notes|Since API 1.25+ (v 1.13) 01/2017]], [https://www.docker.com/blog/whats-new-in-docker-1-13/ announcement] | |
− | docker | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | docker system df | |
+ | [[docker system df -v]] | ||
+ | docker system df -v | [[grep -A]]100 "VOLUME NAME" | ||
− | docker system df | + | |
+ | == 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 <code>-v</code> flag: | ||
+ | <code>docker system df --verbose</code> <code>docker system df -v</code> | ||
+ | |||
+ | |||
+ | == Errors == | ||
+ | * <code>[[docker system df -v]]</code> or <code>[[docker system df --verbose]]</code> | ||
+ | |||
+ | <code>docker system df</code> | ||
Error response from daemon: a disk usage operation is already running | Error response from daemon: a disk usage operation is already running | ||
− | + | == Related terms == | |
− | == Related | + | * [[Docker Volumes]]: <code>[[docker volume ls]]</code> |
− | * [[Docker Volumes]] | + | * <code>[[docker system prune]]</code> or <code>[[docker system prune]] -a</code> |
+ | * <code>[[du]] -sh -- *</code> | ||
+ | * <code>[[df -kh]]</code> | ||
+ | * <code>[[No space left on device]]</code> | ||
+ | * <code>[[/var/lib/docker/]]</code> | ||
* <code>[[docker system prune]]</code> | * <code>[[docker system prune]]</code> | ||
+ | * <code>[[docker buildx du]]</code> | ||
+ | * [[docker run --volume]] | ||
== See also == | == See also == | ||
+ | * {{docker system df}} | ||
+ | * {{Docker Volumes}} | ||
* {{docker system}} | * {{docker system}} | ||
* {{Docker images}} | * {{Docker images}} | ||
− | * {{ | + | * {{du}} |
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 09:41, 12 May 2023
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
docker system df docker system df -v docker system df -v | grep -A100 "VOLUME NAME"
Contents
Examples[edit]
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
Errors[edit]
docker system df
Error response from daemon: a disk usage operation is already running
Related terms[edit]
- Docker Volumes:
docker volume ls
docker system prune
ordocker system prune -a
du -sh -- *
df -kh
No space left on device
/var/lib/docker/
docker system prune
docker buildx du
- docker run --volume
See also[edit]
docker system df [ -v ]
- Docker Volumes:
docker volume ls
,docker volume create
,docker volume inspect
,docker volumes prune
,docker volume create
,docker volume rm
,docker system df
,mounts
,--volumes-from
- docker system:
docker system info
[1],docker system events
[2],docker system df
,docker system prune -a
docker images, docker image
du, du -hs
, Disk space usage,df
,ls
,tree
,find
,docker system df
,journalctl --disk-usage
, No space left on device, ENOSPC,sar -F
,growpart
,resize2fs
, ncdu, duf, dua-cli
Advertising: