Check Docker Container Volume Size

When running storage volumes inside Docker containers, we can check the size of the volumes our containers are using.

By default, when we provision a Docker volume, the volume is empty and doesn’t have a minimum startup size. You can read more about Docker volumes; please visit the previous post on the topic here.

Check Volume Size

The following command will check and print out to the screen all the volumes on the system and the size of each one.

docker system df -v

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.