Skip to main content

Command Palette

Search for a command to run...

Remove Docker Images, Containers, and Volumes

Published
1 min read
M

Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).

Clean up any resources — images, containers, volumes, and networks — that are dangling (not tagged or associated with a container):

docker system prune

Remove any stopped containers and all unused images (not just dangling images):

docker system prune -a

Reference:

https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes

3 views