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?

  • Connecting local cassandra cluster with docker container
  • I started a docker container in bluemix and ice ps shows my container in state “Queued” for hours
  • teamcity and docker integration
  • Docker “not found” for existing file
  • AttributeError: module 'wagtail.wagtailadmin.edit_handlers' has no attribute 'FieldPanel'
  • can we update docker default configure?
  • Having a custom when using a tomcat image from Docker
  • Is it possible to create a docker container that contains one or more containers? [closed]
  • Setting up logging with PHP official docker image
  • Exception trying to run ASP.NET 5 Docker container
  • Continuous integration from a git lab repository to an amazon server
  • Cannot run 5 from docker
  • 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.