{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/10713","labels_url":"https://api.github.com/repos/docker/docker/issues/10713/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/10713/comments","events_url":"https://api.github.com/repos/docker/docker/issues/10713/events","html_url":"https://github.com/docker/docker/pull/10713","id":57380512,"number":10713,"title":"Update resolve.conf in containers on file creation.","user":{"login":"swagiaal","id":770962,"avatar_url":"https://avatars.githubusercontent.com/u/770962?v=3","gravatar_id":"","url":"https://api.github.com/users/swagiaal","html_url":"https://github.com/swagiaal","followers_url":"https://api.github.com/users/swagiaal/followers","following_url":"https://api.github.com/users/swagiaal/following{/other_user}","gists_url":"https://api.github.com/users/swagiaal/gists{/gist_id}","starred_url":"https://api.github.com/users/swagiaal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagiaal/subscriptions","organizations_url":"https://api.github.com/users/swagiaal/orgs","repos_url":"https://api.github.com/users/swagiaal/repos","events_url":"https://api.github.com/users/swagiaal/events{/privacy}","received_events_url":"https://api.github.com/users/swagiaal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/2-code-review","name":"2-code-review","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-11T21:32:37Z","updated_at":"2015-02-19T23:15:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/10713","html_url":"https://github.com/docker/docker/pull/10713","diff_url":"https://github.com/docker/docker/pull/10713.diff","patch_url":"https://github.com/docker/docker/pull/10713.patch"},"body":"NetworkManager updates resolve.conf by replacing the current file\r\nwith an updated one. This change enables docker to listen for these\r\nevents.\r\n\r\nI was playing around with @estesp's patch to see if changes made by NetworkManager (when disconnecting from the network or switching to wifi for example) are picked up by the containers after a restart. It turns out that the changes were not picked up because the file is replaced rather than modified. "},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/75159600","html_url":"https://github.com/docker/docker/pull/10713#issuecomment-75159600","issue_url":"https://api.github.com/repos/docker/docker/issues/10713","id":75159600,"user":{"login":"estesp","id":1397980,"avatar_url":"https://avatars.githubusercontent.com/u/1397980?v=3","gravatar_id":"","url":"https://api.github.com/users/estesp","html_url":"https://github.com/estesp","followers_url":"https://api.github.com/users/estesp/followers","following_url":"https://api.github.com/users/estesp/following{/other_user}","gists_url":"https://api.github.com/users/estesp/gists{/gist_id}","starred_url":"https://api.github.com/users/estesp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estesp/subscriptions","organizations_url":"https://api.github.com/users/estesp/orgs","repos_url":"https://api.github.com/users/estesp/repos","events_url":"https://api.github.com/users/estesp/events{/privacy}","received_events_url":"https://api.github.com/users/estesp/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T23:15:54Z","updated_at":"2015-02-19T23:15:54Z","body":"@swagiaal let's go ahead and fix the test condition with `unmount`, like you did for your test.  @crosbymichael and I agreed it is a rare case, and therefore the only impact is no support for resolv conf updating when `/etc/resolv.conf` itself is a bind mount on the host/daemon."}}