Docker For Mac Virtual Disk Space
I installed Docker 1.13 on macOS 10.10, logged in the docker 'machine' with screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty And did a df -h. It says I have a /dev/sda1 mounted on /var/lib/docker/overlay2 with 64 GB of disk space. /dev/sda1 62.7G 5.6G 54.0G 9% /var/lib/docker/overlay2 I had a few builds failing for 'no space left on device' so I suspect this is where all images end up going. What is not clear to me is the following: • what is this /dev/sda1. Is it a virtual image disk somewhere on my mac?
If so, where? Mac bootcamp windows drivers. • Suppose I am running out of space and I want to store more images.
Mar 28, 2017 - The first thing I noticed was a huge amount of the disk space (about half). That showed this is a so far unsolved issue with Docker For Mac.
How does one increase this disk space? Daniel's answer is right but I found an easier solution. In my case, I think I did migrate from docker-toolbox back in the days which locked by database to ~17G. I found it easier to follow these instructions: Note that this will delete your containers: • Stop docker for mac • rm ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 • Start docker for mac It seemed to work on my side. Mentions and commands that let you backup your containers before nuking your Docker.qcow2.
I didn't use them since I didn't really care about my containers.