{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/libnetwork/issues/747","labels_url":"https://api.github.com/repos/docker/libnetwork/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/docker/libnetwork/issues/747/comments","events_url":"https://api.github.com/repos/docker/libnetwork/issues/747/events","html_url":"https://github.com/docker/libnetwork/issues/747","id":116014898,"number":747,"title":"fix defaultPrefix to honor a root ?","user":{"login":"c0b","id":14798161,"avatar_url":"https://avatars.githubusercontent.com/u/14798161?v=3","gravatar_id":"","url":"https://api.github.com/users/c0b","html_url":"https://github.com/c0b","followers_url":"https://api.github.com/users/c0b/followers","following_url":"https://api.github.com/users/c0b/following{/other_user}","gists_url":"https://api.github.com/users/c0b/gists{/gist_id}","starred_url":"https://api.github.com/users/c0b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0b/subscriptions","organizations_url":"https://api.github.com/users/c0b/orgs","repos_url":"https://api.github.com/users/c0b/repos","events_url":"https://api.github.com/users/c0b/events{/privacy}","received_events_url":"https://api.github.com/users/c0b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-10T02:57:30Z","updated_at":"2015-11-10T02:57:30Z","closed_at":null,"body":"the [defaultPrefix](https://github.com/docker/libnetwork/blob/master/sandbox.go#L572) in libnetwork not honoring any specified root, when I have given root for graphdriver? but libnetwork still creates `/var/lib/docker` can we avoid this?\r\n\r\nand this could be a problem when I ran different docker daemon with different driver / root flags simultaneously?\r\n\r\n```console\r\n➸ sudo find /var/lib/docker/ -ls\r\n 93174    0 drw-------   3 root     root           60 Nov  8 18:14 /var/lib/docker/\r\n 93175    0 drw-------   3 root     root           60 Nov  8 18:14 /var/lib/docker/network\r\n 93176    0 drw-------   2 root     root           60 Nov  8 21:41 /var/lib/docker/network/files\r\n  1200    0 srw-------   1 root     root            0 Nov  8 21:41 /var/lib/docker/network/files/d10945c8a9706cc93c1b8074f20092d959a0b7d0a64b7cee1058bcdb91fd5c6e.sock\r\n```\r\n\r\n```console\r\n# part of docker daemon --help\r\n  --exec-root=/var/run/docker          Root of the Docker execdriver\r\n  -g, --graph=/var/lib/docker          Root of the Docker runtime\r\n```"}}