...

/

Freeing Up the Resources

Freeing Up the Resources

Learn the Docker commands used to free up space.

Cleaning up

Docker can use significant quantities of disk space. We can see the information about the amount of disk space used. Scary usage statistics are returned when entering:

docker system df

To view all containers, both running and stopped, enter:

docker container ls -a

Note that containers are usually small because they are stateless and launch from a specific image.

To view all images, both active and dangling (those not associated with a container), enter:

docker image ls -a

To view all Docker-managed disk volumes, enter: ...