{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/14922","labels_url":"https://api.github.com/repos/docker/docker/issues/14922/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/14922/comments","events_url":"https://api.github.com/repos/docker/docker/issues/14922/events","html_url":"https://github.com/docker/docker/pull/14922","id":96910585,"number":14922,"title":"Label /etc/resolv.conf, /etc/hosts ... correctly in shared network co…","user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/39","html_url":"https://github.com/docker/docker/milestones/1.8.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/39/labels","id":1151952,"number":39,"title":"1.8.0","description":"","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":67,"state":"open","created_at":"2015-06-05T19:27:06Z","updated_at":"2015-07-29T16:36:59Z","due_on":"2015-08-09T22:00:00Z","closed_at":null},"comments":12,"created_at":"2015-07-23T21:35:44Z","updated_at":"2015-07-29T16:45:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/14922","html_url":"https://github.com/docker/docker/pull/14922","diff_url":"https://github.com/docker/docker/pull/14922.diff","patch_url":"https://github.com/docker/docker/pull/14922.patch"},"body":"…ntainers\r\n\r\nIf I run two containers with the same network they share the same /etc/resolv.conf.\r\nThe current code changes the labels of the /etc/resolv.conf currently to the\r\nprivate label which causes it to be unusable in the first container.\r\n\r\nThis patch changes the labels to a shared label if more then one container\r\nwill use the content.\r\n\r\nDocker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/126014078","html_url":"https://github.com/docker/docker/pull/14922#issuecomment-126014078","issue_url":"https://api.github.com/repos/docker/docker/issues/14922","id":126014078,"user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T16:45:31Z","updated_at":"2015-07-29T16:45:31Z","body":"@SvenDowideit Do we have any tests for sharing networks between containers?"}}