Docker cleanup - free disk space (prune) | Drupal 8

Docker cleanup - free disk space (prune)

Submitted by editor on Mon, 05/25/2020 - 10:35

How to cleanup docker images, containers, volumes ... ?

Remove all everything not used by at least one container - Prune everything

docker system prune

Note : If you are on Docker 17.06.1 or higher and want to also prune volumes, add the --volumes flag:
docker system prune --volumes


Remove all dangling images

docker image prune

Remove all stopped containers

docker container prune

Remove all volumes not used by at least one container

docker volume prune

Remove all networks not used by at least one container

docker network prune



Jason (not verified)

Sat, 11/28/2020 - 15:51

Hi! Maybe you are a learner and underestimate the time it takes you to finish homeworks, so you are constantly breaking deadlines?! You should take more time to finish your assignments, and set less optimistic deadlines. Or maybe you are easily distracted by quick chats with your parents? You should plan your time in advance, and stick to the plan. So, I highly recommend you to try to buy dissertation papers online at this website. I'm sure for 100% that it will save your time, money and nerves, you simply need to click on this agency.

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.