{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/2305","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/2305/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/2305/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/2305/events","html_url":"https://github.com/lxc/lxd/issues/2305","id":172688054,"node_id":"MDU6SXNzdWUxNzI2ODgwNTQ=","number":2305,"title":"Docker storage driver support","user":{"login":"henrylawson","id":1419187,"node_id":"MDQ6VXNlcjE0MTkxODc=","avatar_url":"https://avatars0.githubusercontent.com/u/1419187?v=4","gravatar_id":"","url":"https://api.github.com/users/henrylawson","html_url":"https://github.com/henrylawson","followers_url":"https://api.github.com/users/henrylawson/followers","following_url":"https://api.github.com/users/henrylawson/following{/other_user}","gists_url":"https://api.github.com/users/henrylawson/gists{/gist_id}","starred_url":"https://api.github.com/users/henrylawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrylawson/subscriptions","organizations_url":"https://api.github.com/users/henrylawson/orgs","repos_url":"https://api.github.com/users/henrylawson/repos","events_url":"https://api.github.com/users/henrylawson/events{/privacy}","received_events_url":"https://api.github.com/users/henrylawson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-08-23T12:38:21Z","updated_at":"2019-10-23T15:20:07Z","closed_at":"2016-08-26T21:45:04Z","author_association":"NONE","body":"Running Docker inside LXC on an Ubuntu Xenial image results in VFS being chosen as the default storage driver. VFS results in significant disk space usage and slow performance.\n1. Is it possible to configure/select another? From attempting to configure other drivers I have found that:\n   - overlay/overlay2 is not possible if the host is zfs (as documented by docker)\n   - aufs does not seem to be available in `/proc/filesystems` (a prerequisite step in the docker docs)\n   - zfs in zfs also appears to not be be possible too\n2. Could the steps to achieve that be shared? \n\nhttps://docs.docker.com/engine/userguide/storagedriver/selectadriver/\n# Required information\n\n```\nUbuntu 16.04.1 LTS\n```\n\n```\nlxd --version\n2.0.3\n```\n\n```\nlxc info:\n  driver: lxc\n  driverversion: 2.0.3\n  kernel: Linux\n  kernelarchitecture: x86_64\n  kernelversion: 4.4.0-34-generic\n  server: lxd\n  serverpid: 2262\n  serverversion: 2.0.3\n  storage: zfs\n  storageversion: \"5\n```\n# Issue description\n\nA brief description of what failed or what could be improved.\n# Steps to reproduce\n\n```\nlxc launch ubuntu-daily:16.04 docker -p default -p docker\nlxc exec docker -- apt update\nlxc exec docker -- apt dist-upgrade -y\nlxc exec docker -- apt install docker.io -y\nlxc exec docker -- docker info\n```\n\n```\nContainers: 0\n Running: 0\n Paused: 0\n Stopped: 0\nImages: 0\nServer Version: 1.11.2\nStorage Driver: vfs\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins:\n Volume: local\n Network: null host bridge\nKernel Version: 4.4.0-34-generic\nOperating System: Ubuntu 16.04.1 LTS\nOSType: linux\nArchitecture: x86_64\nCPUs: 2\nTotal Memory: 4 GiB\nName: docker\nID: LFOL:35Y6:DCVV:5P5P:GQKW:MBV6:LOYV:3XWS:LC67:R46I:2JVJ:E6GV\nDocker Root Dir: /var/lib/docker\nDebug mode (client): false\nDebug mode (server): false\nRegistry: https://index.docker.io/v1/\nWARNING: No swap limit support\nWARNING: bridge-nf-call-iptables is disabled\nWARNING: bridge-nf-call-ip6tables is disabled\n```\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/545495974","html_url":"https://github.com/lxc/lxd/issues/2305#issuecomment-545495974","issue_url":"https://api.github.com/repos/lxc/lxd/issues/2305","id":545495974,"node_id":"MDEyOklzc3VlQ29tbWVudDU0NTQ5NTk3NA==","user":{"login":"andersruneson","id":1451776,"node_id":"MDQ6VXNlcjE0NTE3NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1451776?v=4","gravatar_id":"","url":"https://api.github.com/users/andersruneson","html_url":"https://github.com/andersruneson","followers_url":"https://api.github.com/users/andersruneson/followers","following_url":"https://api.github.com/users/andersruneson/following{/other_user}","gists_url":"https://api.github.com/users/andersruneson/gists{/gist_id}","starred_url":"https://api.github.com/users/andersruneson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersruneson/subscriptions","organizations_url":"https://api.github.com/users/andersruneson/orgs","repos_url":"https://api.github.com/users/andersruneson/repos","events_url":"https://api.github.com/users/andersruneson/events{/privacy}","received_events_url":"https://api.github.com/users/andersruneson/received_events","type":"User","site_admin":false},"created_at":"2019-10-23T15:20:07Z","updated_at":"2019-10-23T15:20:07Z","author_association":"NONE","body":"Hm, I tried the same again, but without changing /etc/docker/daemon.json and this time it worked!\r\nMagic!\r\nThanks @stgraber ."}}
{"actor":{"display_login":"andersruneson"}}