{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-mac/issues/2297","repository_url":"https://api.github.com/repos/docker/for-mac","labels_url":"https://api.github.com/repos/docker/for-mac/issues/2297/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-mac/issues/2297/comments","events_url":"https://api.github.com/repos/docker/for-mac/issues/2297/events","html_url":"https://github.com/docker/for-mac/issues/2297","id":280133349,"number":2297,"title":"Docker.raw reserving too much size","user":{"login":"aitrusgit","id":819334,"avatar_url":"https://avatars0.githubusercontent.com/u/819334?v=4","gravatar_id":"","url":"https://api.github.com/users/aitrusgit","html_url":"https://github.com/aitrusgit","followers_url":"https://api.github.com/users/aitrusgit/followers","following_url":"https://api.github.com/users/aitrusgit/following{/other_user}","gists_url":"https://api.github.com/users/aitrusgit/gists{/gist_id}","starred_url":"https://api.github.com/users/aitrusgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitrusgit/subscriptions","organizations_url":"https://api.github.com/users/aitrusgit/orgs","repos_url":"https://api.github.com/users/aitrusgit/repos","events_url":"https://api.github.com/users/aitrusgit/events{/privacy}","received_events_url":"https://api.github.com/users/aitrusgit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-07T13:40:07Z","updated_at":"2017-12-07T13:46:34Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior\r\nDocker.raw should not grow much larger than the space used by docker containers, images, volumes.\r\n\r\n### Actual behavior\r\nI have very few images downloaded locally, with no active containers and just a two volumes with some data.\r\n```\r\n➜  com.docker.driver.amd64-linux docker system df\r\nTYPE                TOTAL               ACTIVE              SIZE                RECLAIMABLE\r\nImages              19                  0                   3.628GB             3.628GB (100%)\r\nContainers          0                   0                   0B                  0B\r\nLocal Volumes       2                   0                   803.5MB             803.5MB (100%)\r\nBuild Cache                                                 0B                  0B\r\n```\r\n\r\nNevertheless Docker.raw size is huge!\r\n```\r\n➜  com.docker.driver.amd64-linux ls -l Docker.raw\r\n-rw-r--r--@ 1 cf  staff  68719476736 Dec  7 10:35 Docker.raw\r\n```\r\n\r\n### Information\r\nDiagnose info:\r\n\r\n```\r\nDocker for Mac: version: 17.11.0-ce-mac40 (b2149617ed8d7263c9c035e25fe71d147169348c)\r\nmacOS: version 10.13.1 (build: 17B1003)\r\nlogs: /tmp/F397F806-6CA7-40E3-9C36-79B5F0ED519D/20171207-103808.tar.gz\r\n[OK]     db.git\r\n[OK]     vmnetd\r\n[OK]     dns\r\n[OK]     driver.amd64-linux\r\n[OK]     virtualization VT-X\r\n[OK]     app\r\n[OK]     moby\r\n[OK]     system\r\n[OK]     moby-syslog\r\n[OK]     kubernetes\r\n[OK]     db\r\n[OK]     env\r\n[OK]     virtualization kern.hv_support\r\n[OK]     slirp\r\n[OK]     osxfs\r\n[OK]     moby-console\r\n[OK]     logs\r\n[OK]     docker-cli\r\n[OK]     menubar\r\n[OK]     disk\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker/for-mac/issues/comments/349971132","html_url":"https://github.com/docker/for-mac/issues/2297#issuecomment-349971132","issue_url":"https://api.github.com/repos/docker/for-mac/issues/2297","id":349971132,"user":{"login":"aitrusgit","id":819334,"avatar_url":"https://avatars0.githubusercontent.com/u/819334?v=4","gravatar_id":"","url":"https://api.github.com/users/aitrusgit","html_url":"https://github.com/aitrusgit","followers_url":"https://api.github.com/users/aitrusgit/followers","following_url":"https://api.github.com/users/aitrusgit/following{/other_user}","gists_url":"https://api.github.com/users/aitrusgit/gists{/gist_id}","starred_url":"https://api.github.com/users/aitrusgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitrusgit/subscriptions","organizations_url":"https://api.github.com/users/aitrusgit/orgs","repos_url":"https://api.github.com/users/aitrusgit/repos","events_url":"https://api.github.com/users/aitrusgit/events{/privacy}","received_events_url":"https://api.github.com/users/aitrusgit/received_events","type":"User","site_admin":false},"created_at":"2017-12-07T13:46:34Z","updated_at":"2017-12-07T13:46:34Z","author_association":"NONE","body":"I even tried removing `Docker.raw` file manually and, after restarting docker, it gets recreated with the same size:\r\n\r\n```\r\n➜  com.docker.driver.amd64-linux ls -l Docker.raw\r\n-rw-r--r--@ 1 cf  staff  68719476736 Dec  7 10:44 Docker.raw\r\n```\r\n\r\nIs that file size independent of my volumes, images, containers? 64 GB is quite a big chunk of data for an small SSD HD.\r\n"}}
{"actor":{"display_login":"aitrusgit"}}