{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/14678","labels_url":"https://api.github.com/repos/docker/docker/issues/14678/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/14678/comments","events_url":"https://api.github.com/repos/docker/docker/issues/14678/events","html_url":"https://github.com/docker/docker/issues/14678","id":95470283,"number":14678,"title":"devicemapper:  dm.basesize should be tunable per-container","user":{"login":"jeremyeder","id":1919640,"avatar_url":"https://avatars.githubusercontent.com/u/1919640?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyeder","html_url":"https://github.com/jeremyeder","followers_url":"https://api.github.com/users/jeremyeder/followers","following_url":"https://api.github.com/users/jeremyeder/following{/other_user}","gists_url":"https://api.github.com/users/jeremyeder/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyeder/subscriptions","organizations_url":"https://api.github.com/users/jeremyeder/orgs","repos_url":"https://api.github.com/users/jeremyeder/repos","events_url":"https://api.github.com/users/jeremyeder/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyeder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-07-16T16:16:54Z","updated_at":"2015-07-17T19:11:23Z","closed_at":null,"body":"Right now when using the devicemapper graph driver, the dm.basesize daemon flag sets the default size of the CoW volume for each container to 10G by default.\r\n\r\nIf a user needs more than 10G in their CoW volume, they must completely tear down their storage backend (delete all containers and images), rm -rf /var/lib/docker customize dm.basesize, start docker and recreate all their images/containers.\r\n\r\nWe need an option to make dm.basesize tunable on a per-container basis.\r\nKeep the default of 10G, but allow an override at runtime:\r\n\r\ni.e. this would create a new container of 32G size:\r\n\r\n```# docker run -it --basesize=32G rhel7 bash```\r\n\r\nI am explicitly NOT including resizing of existing/running containers in this PR, although that would be useful."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/122377401","html_url":"https://github.com/docker/docker/issues/14678#issuecomment-122377401","issue_url":"https://api.github.com/repos/docker/docker/issues/14678","id":122377401,"user":{"login":"rhvgoyal","id":9487534,"avatar_url":"https://avatars.githubusercontent.com/u/9487534?v=3","gravatar_id":"","url":"https://api.github.com/users/rhvgoyal","html_url":"https://github.com/rhvgoyal","followers_url":"https://api.github.com/users/rhvgoyal/followers","following_url":"https://api.github.com/users/rhvgoyal/following{/other_user}","gists_url":"https://api.github.com/users/rhvgoyal/gists{/gist_id}","starred_url":"https://api.github.com/users/rhvgoyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhvgoyal/subscriptions","organizations_url":"https://api.github.com/users/rhvgoyal/orgs","repos_url":"https://api.github.com/users/rhvgoyal/repos","events_url":"https://api.github.com/users/rhvgoyal/events{/privacy}","received_events_url":"https://api.github.com/users/rhvgoyal/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T19:11:22Z","updated_at":"2015-07-17T19:11:22Z","body":"@vbatts \r\n\r\nOne drawback I can think of is that an unprivileged process can easily fill the pool.\r\n\r\ndd if=/dev/zero of=zerofile\r\n\r\nPreviously max was 10G so what a container could do was limited.\r\n\r\nBut this is no different then any other graph driver."}}