Tips:Linux:Cleanup:Docker

From Knowledge base
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