{"action":"created","issue":{"url":"https://api.github.com/repos/docker/fig/issues/981","labels_url":"https://api.github.com/repos/docker/fig/issues/981/labels{/name}","comments_url":"https://api.github.com/repos/docker/fig/issues/981/comments","events_url":"https://api.github.com/repos/docker/fig/issues/981/events","html_url":"https://github.com/docker/fig/issues/981","id":58077180,"number":981,"title":"If you restarting the source container, the linked containers /etc/hosts files is not  automatically updated","user":{"login":"BlackRider97","id":4725916,"avatar_url":"https://avatars.githubusercontent.com/u/4725916?v=3","gravatar_id":"","url":"https://api.github.com/users/BlackRider97","html_url":"https://github.com/BlackRider97","followers_url":"https://api.github.com/users/BlackRider97/followers","following_url":"https://api.github.com/users/BlackRider97/following{/other_user}","gists_url":"https://api.github.com/users/BlackRider97/gists{/gist_id}","starred_url":"https://api.github.com/users/BlackRider97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlackRider97/subscriptions","organizations_url":"https://api.github.com/users/BlackRider97/orgs","repos_url":"https://api.github.com/users/BlackRider97/repos","events_url":"https://api.github.com/users/BlackRider97/events{/privacy}","received_events_url":"https://api.github.com/users/BlackRider97/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T14:50:56Z","updated_at":"2015-02-19T07:33:30Z","closed_at":null,"body":"please refer docker documentation here https://docs.docker.com/userguide/dockerlinks/\r\nit says that \r\nIf you restart the source container, the linked containers /etc/hosts files will be automatically updated with the source container's new IP address, allowing linked communication to continue.\r\n\r\nWhen I using fig links new IP address of source container is not reflecting in linked container.\r\n`\r\n$ sudo fig --version\r\nfig 1.0.1\r\n`\r\n`\r\n$sudo docker --version\r\nDocker version 1.5.0, build a8a31ef\r\n`"},"comment":{"url":"https://api.github.com/repos/docker/fig/issues/comments/75009469","html_url":"https://github.com/docker/fig/issues/981#issuecomment-75009469","issue_url":"https://api.github.com/repos/docker/fig/issues/981","id":75009469,"user":{"login":"BlackRider97","id":4725916,"avatar_url":"https://avatars.githubusercontent.com/u/4725916?v=3","gravatar_id":"","url":"https://api.github.com/users/BlackRider97","html_url":"https://github.com/BlackRider97","followers_url":"https://api.github.com/users/BlackRider97/followers","following_url":"https://api.github.com/users/BlackRider97/following{/other_user}","gists_url":"https://api.github.com/users/BlackRider97/gists{/gist_id}","starred_url":"https://api.github.com/users/BlackRider97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlackRider97/subscriptions","organizations_url":"https://api.github.com/users/BlackRider97/orgs","repos_url":"https://api.github.com/users/BlackRider97/repos","events_url":"https://api.github.com/users/BlackRider97/events{/privacy}","received_events_url":"https://api.github.com/users/BlackRider97/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T07:33:30Z","updated_at":"2015-02-19T07:33:30Z","body":"It was my bad.  `fig restart` is working while I was doing `fig stop` then `fig start`\r\n@thaJeztah  Thanks for your response. "}}