Tips:Linux:Cleanup:Docker

From Knowledge base
Revision as of 23:56, 11 March 2018 by Celogeek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To clean up your docker entirely:

  • all stopped containers
  • all volumes not used by at least one container
  • all networks not used by at least one container
  • all dangling images

You can run this :

$ docker system prune -a


Share your opinion