{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/9411","labels_url":"https://api.github.com/repos/docker/docker/issues/9411/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/9411/comments","events_url":"https://api.github.com/repos/docker/docker/issues/9411/events","html_url":"https://github.com/docker/docker/pull/9411","id":50455978,"number":9411,"title":"zfs-utils based zfs graph driver","user":{"login":"Mic92","id":96200,"avatar_url":"https://avatars.githubusercontent.com/u/96200?v=3","gravatar_id":"","url":"https://api.github.com/users/Mic92","html_url":"https://github.com/Mic92","followers_url":"https://api.github.com/users/Mic92/followers","following_url":"https://api.github.com/users/Mic92/following{/other_user}","gists_url":"https://api.github.com/users/Mic92/gists{/gist_id}","starred_url":"https://api.github.com/users/Mic92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mic92/subscriptions","organizations_url":"https://api.github.com/users/Mic92/orgs","repos_url":"https://api.github.com/users/Mic92/repos","events_url":"https://api.github.com/users/Mic92/events{/privacy}","received_events_url":"https://api.github.com/users/Mic92/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/3-needs-docs-review","name":"status/3-needs-docs-review","color":"c7def8"},{"url":"https://api.github.com/repos/docker/docker/labels/status/docs-help","name":"status/docs-help","color":"C6E5D9"}],"state":"closed","locked":false,"assignee":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/38","html_url":"https://github.com/docker/docker/milestones/1.7.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/38/labels","id":1010239,"number":38,"title":"1.7.0","description":"","creator":{"login":"dmcgowan","id":169601,"avatar_url":"https://avatars.githubusercontent.com/u/169601?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcgowan","html_url":"https://github.com/dmcgowan","followers_url":"https://api.github.com/users/dmcgowan/followers","following_url":"https://api.github.com/users/dmcgowan/following{/other_user}","gists_url":"https://api.github.com/users/dmcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcgowan/subscriptions","organizations_url":"https://api.github.com/users/dmcgowan/orgs","repos_url":"https://api.github.com/users/dmcgowan/repos","events_url":"https://api.github.com/users/dmcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/dmcgowan/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":16,"state":"open","created_at":"2015-03-07T01:54:49Z","updated_at":"2015-05-12T01:20:44Z","due_on":null,"closed_at":null},"comments":84,"created_at":"2014-11-30T12:14:26Z","updated_at":"2015-05-12T11:25:40Z","closed_at":"2015-05-11T23:53:17Z","pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/9411","html_url":"https://github.com/docker/docker/pull/9411","diff_url":"https://github.com/docker/docker/pull/9411.diff","patch_url":"https://github.com/docker/docker/pull/9411.patch"},"body":"- Use go-zfs for robust commandline handling\r\n- implements complete driver interface including the differ interface\r\n- should also works on non-linux platforms\r\n\r\ncurrent status: works on my machine(tm)\r\nI am looking for testers with different zfs setups to find more bugs\r\n\r\n**Usage** (a little bit more verbose for testers):\r\n- the following lines can be tested without messing up your current docker setup\r\n- replace zroot/docker with your preferred zfs dataset\r\n\r\n```\r\n$ git clone https://github.com/Mic92/docker\r\n$ cd docker\r\n$ git checkout features/zfs-rebased\r\n$ export AUTO_GOPATH=1\r\n$ hack/make.sh dynbinary\r\nroot> zfs create -o com.sun:auto-snapshot=false -o dedup=off -o mountpoint=/var/lib/docker-zfs zroot/docker\r\nroot> bundles/1.4.1-dev/dynbinary/docker -p /var/run/docker-zfs.pid -H tcp://127.0.0.1:2376 -s zfs -g /var/lib/docker-zfs -d -D\r\n# spawn another shell and go to your favorite docker project and hit\r\n$ export DOCKER_HOST=tcp://127.0.0.1:2376\r\n$ bundles/1.4.1-dev/dynbinary/docker --pidfile=/var/run/docker-zfs.pid build .\r\n```\r\nYou can also overwrite the used dataset with `--storage-opt zfs.fsname=zroot/docker`, when starting the docker daemon.\r\n\r\nRelated to docker/docker#7901\r\n\r\nPKGBUILD for archlinux: https://aur.archlinux.org/packages/docker-zfs/\r\n\r\n**ZFS Quickstart** (from a loopback device)\r\n1. Install zfs:\r\non Ubuntu:\r\n\r\n```\r\n# apt-add-repository --yes ppa:zfs-native/stable\r\n# apt-get update\r\n# apt-get install debootstrap spl-dkms zfs-dkms ubuntu-zfs\r\n```\r\n\r\non Arch:\r\ninstall `zfs-git` from `AUR`\r\n\r\n2. Create your zpool:\r\n\r\n```\r\n# truncate -s 2G /tmp/zfs.img\r\n# zpool create dockertest /tmp/zfs.img\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/101244983","html_url":"https://github.com/docker/docker/pull/9411#issuecomment-101244983","issue_url":"https://api.github.com/repos/docker/docker/issues/9411","id":101244983,"user":{"login":"Mic92","id":96200,"avatar_url":"https://avatars.githubusercontent.com/u/96200?v=3","gravatar_id":"","url":"https://api.github.com/users/Mic92","html_url":"https://github.com/Mic92","followers_url":"https://api.github.com/users/Mic92/followers","following_url":"https://api.github.com/users/Mic92/following{/other_user}","gists_url":"https://api.github.com/users/Mic92/gists{/gist_id}","starred_url":"https://api.github.com/users/Mic92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mic92/subscriptions","organizations_url":"https://api.github.com/users/Mic92/orgs","repos_url":"https://api.github.com/users/Mic92/repos","events_url":"https://api.github.com/users/Mic92/events{/privacy}","received_events_url":"https://api.github.com/users/Mic92/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T11:25:40Z","updated_at":"2015-05-12T11:25:40Z","body":"@discordianfish so I will make a pull request once you have go through the whole documentation."}}