You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: I am listing this as a bug as I believe UNIQUE SIZE must sum to the total image occupancy as reported by docker system df.
The output of docker system df -v is not as useful as it could be. As it currently stands, many images may "pretend" to be completely shared (UNIQUE SIZE of 0B) as the top-level layer is a nop.
This yields the degenerative case where a docker image whose last build step is something like an ENV will always show a unique size of 0B.
A quick fix for this would be to show untagged/intermediate layers (such as in docker images -a).
A better fix would be to improve this view to show layer hierarchies and sharing relationships. This is an important debug tool for registry optimisation, but it still isn't present in the CLI.
Description
NOTE: I am listing this as a bug as I believe UNIQUE SIZE must sum to the total image occupancy as reported by
docker system df
.The output of
docker system df -v
is not as useful as it could be. As it currently stands, many images may "pretend" to be completely shared (UNIQUE SIZE of 0B) as the top-level layer is a nop.This yields the degenerative case where a docker image whose last build step is something like an
ENV
will always show a unique size of 0B.A quick fix for this would be to show untagged/intermediate layers (such as in
docker images -a
).A better fix would be to improve this view to show layer hierarchies and sharing relationships. This is an important debug tool for registry optimisation, but it still isn't present in the CLI.
Reproduce
docker system df -v
Expected behavior
No response
docker version
Client: Docker Engine - Community Version: 23.0.4 API version: 1.42 Go version: go1.19.8 Git commit: f480fb1 Built: Fri Apr 14 10:32:03 2023 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 23.0.4 API version: 1.42 (minimum version 1.12) Go version: go1.19.8 Git commit: cbce331 Built: Fri Apr 14 10:32:03 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.20 GitCommit: 2806fc1057397dbaeefbea0e4e17bddfbd388f38 runc: Version: 1.1.5 GitCommit: v1.1.5-0-gf19387a docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: