{"action":"opened","issue":{"url":"https://api.github.com/repos/shipyard/shipyard/issues/663","labels_url":"https://api.github.com/repos/shipyard/shipyard/issues/663/labels{/name}","comments_url":"https://api.github.com/repos/shipyard/shipyard/issues/663/comments","events_url":"https://api.github.com/repos/shipyard/shipyard/issues/663/events","html_url":"https://github.com/shipyard/shipyard/issues/663","id":115211182,"number":663,"title":"The IP of the container will change as the container is restarted.","user":{"login":"cncodog","id":14884626,"avatar_url":"https://avatars.githubusercontent.com/u/14884626?v=3","gravatar_id":"","url":"https://api.github.com/users/cncodog","html_url":"https://github.com/cncodog","followers_url":"https://api.github.com/users/cncodog/followers","following_url":"https://api.github.com/users/cncodog/following{/other_user}","gists_url":"https://api.github.com/users/cncodog/gists{/gist_id}","starred_url":"https://api.github.com/users/cncodog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cncodog/subscriptions","organizations_url":"https://api.github.com/users/cncodog/orgs","repos_url":"https://api.github.com/users/cncodog/repos","events_url":"https://api.github.com/users/cncodog/events{/privacy}","received_events_url":"https://api.github.com/users/cncodog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-05T05:13:53Z","updated_at":"2015-11-05T05:13:53Z","closed_at":null,"body":"I have found that when we restart the shipyard container, the corresponding IP will change, and the network is dependent on the IP address of our container, so that we initialize the iptables had to change the mapping.\r\nThe way I think of it now is to assign static IP addresses for all of the containers (of course, we must start with --net=none), or change the address to be changed manually (IP)!\r\nDo not know there is no better solution?"}}