{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/compose/issues/4083","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/4083/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/4083/comments","events_url":"https://api.github.com/repos/docker/compose/issues/4083/events","html_url":"https://github.com/docker/compose/issues/4083","id":185698431,"number":4083,"title":"container networks aren't added in defined order","user":{"login":"heidricha","id":4726993,"avatar_url":"https://avatars.githubusercontent.com/u/4726993?v=3","gravatar_id":"","url":"https://api.github.com/users/heidricha","html_url":"https://github.com/heidricha","followers_url":"https://api.github.com/users/heidricha/followers","following_url":"https://api.github.com/users/heidricha/following{/other_user}","gists_url":"https://api.github.com/users/heidricha/gists{/gist_id}","starred_url":"https://api.github.com/users/heidricha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heidricha/subscriptions","organizations_url":"https://api.github.com/users/heidricha/orgs","repos_url":"https://api.github.com/users/heidricha/repos","events_url":"https://api.github.com/users/heidricha/events{/privacy}","received_events_url":"https://api.github.com/users/heidricha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-27T15:16:04Z","updated_at":"2016-11-07T08:38:10Z","closed_at":"2016-11-07T08:38:10Z","body":"for a service with more then one network, the networks are created in a strange way:\n\neth0 / eth1 order is ok, BUT\neth0 is eth0@ifxxx and eth1 is eth1@ifyyy where yyy < xxx, so f.e. \"ip addr\" command displays the network interfaces like:\neth1\neth0\nwhich is strange, but I guess doesn't harm at all.\n\nUnfortunately /etc/hosts contains \"hostname\" twice with the addresses of the host in net1 and net2 accordingly AND the order of these lines in /etc/hosts is not fixed, for some services the order is\nhostname eth1-IP\nhostname eth0-IP\n\nand vice versa for some services. I think it should be deterministic.\n"}}
{"actor":{"display_login":"heidricha"}}