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?

  • How to run the Google app engine server using Dockerfile
  • docker + rails + redis - rescue workers are not running
  • Docker: Remove and create folder before doing cp
  • How deploy spring cloud data flow on docker
  • Why mysql backup is not restored into my docker container ?
  • docker-compose referencing wrong ports
  • Where does Docker store the content of running containers?
  • connection issues between apacheds and tomcat docker containers
  • Dockerfile: RUN command with special parameters
  • Null port bindings from inspect, the first time. a second time good. why?
  • Docker: I'm not able to make working a volume binding at runtime
  • Moving from Docker Containers to Cloud Foundry containers
  • 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.