Deuts Log

The Omniverse: Unveiling the endless tapestry of topics.

Docker Command to Check the Sizes of your Containers

Posted on Aug 12, 2023


The easy approach is to use:

docker ps --size

But this will output a long table with columns:

Let’s refine the command

More likely, you’re just curious about these columns:

In order to do so, just run:

docker ps -a --size --format "table {{.ID}}\t{{.Names}}\t{{.Image}}\t{{.Size}}"