Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Proposal] Data management command #22871

@icecrime

Description

@icecrime

Problem statement

One of the issues we hear about the most is how to reclaim disk space used by docker. I suggest to start small by adding a way to understand and visualize how disk space is used, before building additional support for managing this data.

Possible solution

One simple idea would by to provide the equivalent of a docker df, which would show you:

  • Space used by images (tagged versus untagged?)
  • Space used by containers (running versus stopped?)
  • Space used by volumes (referenced versus dangling?)

A natural evolution of that would be to offer one-liners to reclaim space consumed by unused images, dangling volumes, or stopped containers.

Ping @docker/core-maintainers: I'm interested to hear what you think!

Metadata

Metadata

Labels

kind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shiny

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions