![how to figure out how much space on mac how to figure out how much space on mac](http://www.rawinfopages.com/mac/sites/default/files/sites/default/files/img19/macos-storage-1.jpg)
Alpine linux is one of the more popular, lightweight base images that are used to create docker containers. This section outlines the container ID on your system, the image that the container is running, the command being ran in the container, how many local volumes are attached to the container, and the amount of space that the container is taking up on your system.ĭepending on the base image that is being used in the container, most containers will not necessarily take up a lot of space on your system. The containers space use section the above output allows you to view which specific containers are taking up space on your Docker host machine. The shared size amount will show how much of a particular container image is being shared with another container. Docker container images are made from various different layers and if these layers are identical, they can be shared across multiple container images in an effort to save space on your system. The shared size is an interesting statistic. The section on images space use section will outline the repository that the image came from, it’s tag, the image identification number on your system, how long ago the image was added to your system, size, shared size, unique size, and how many containers that are currently using the image.
![how to figure out how much space on mac how to figure out how much space on mac](https://www.imore.com/sites/imore.com/files/styles/large_wm_blw/public/field/image/2016/02/Other-storage-Mac-hero.jpeg)
Information will be presented in four main categories, images space use, containers space use, local volumes space use, and build cache usage, as seen below: Image Space Use When you run the above command, you will be presented with more detailed information about what exactly is taking up the space on your Docker host. In order to view a summarized account for docker disk space usage on your docker host system, you can run the following command: The Basic Command to View Docker Disk Usage Now, it is simple to run the docker system prune command to automatically wipe your Docker host, but what if you wanted to dive into your setup and to view the docker disk space usage on your system? Thankfully, Docker has a built in solution that will allow you to view details on Docker disk space usage. Now, if you aren’t consistently running commands to clean up your Docker host, then all of those volumes, container images, and running containers can take up a lot of disk space. This can create a lot of Docker disk space usage.
![how to figure out how much space on mac how to figure out how much space on mac](https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2020/03/see-the-disk-space-using-about-this-mac.png)
If you run a lot of containers that require persistent volumes, Docker will create those localized volumes on your system in the background as the container is initializing.