Skip to content

Some useful docker commands

I wanted to jot down a couple of commands I've found useful.

List current Docker images

docker images

If you only want to clean up unused or dangling images (images that are not being used by any containers), you can use:

docker system prune -a

Comments