The size of docker.qcow2 on mac is much larger than the images that I have

I am using mac machine, and I have only one image of ubuntu:14.04, which sizes to 187.9 MB. I have deleted all containers (running and exited). However when I check the size of docker.qcow2 (/Library/containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2), it shows the size as 1.63 GB. As far as I know, this is the file where all the images are stored in mac. So the size of this file should be 187 MB or less. Any idea of why this size is so big?

  • problems running logstash with -f flag in docker
  • How to close and reopen docker terminal
  • Docker: MySQL-Socket created with wrong permissions when bind-mounted from host to container
  • You're accessing the development server over HTTPS, but it only supports HTTP when using Docker
  • Unable to pull docker image - Repository not found
  • Concourse cant put docker image to local repo, not a vaild repository/tag
  • Does data needs to have a specific format to upload it in Docker?
  • Elasticsearch won't run with Docker
  • Build of docker image with centos:6.6 fails when trying to update repo
  • Why are container's size and image's size equivalent?
  • Docker Containers not running on boot2docker boot
  • AWS Elastic Beanstalk deploying Docker with simple SpringBoot Eureka image failure
  • One Solution collect form web for “The size of docker.qcow2 on mac is much larger than the images that I have”

    I was facing the same issue, size of my Docker.qcow2 was 13G. So I connected to the Docker host VM directly and rebooted it from the CLI. After that the size went down to 2.2G

    Try screen $HOME/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty and you should be able to connect directly to the Docker host.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.