{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18222","labels_url":"https://api.github.com/repos/docker/docker/issues/18222/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18222/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18222/events","html_url":"https://github.com/docker/docker/issues/18222","id":118808481,"number":18222,"title":"docker 1.9.1 initial container exposed port  is not exposed after several container restarts","user":{"login":"sebi-hgdata","id":11443582,"avatar_url":"https://avatars.githubusercontent.com/u/11443582?v=3","gravatar_id":"","url":"https://api.github.com/users/sebi-hgdata","html_url":"https://github.com/sebi-hgdata","followers_url":"https://api.github.com/users/sebi-hgdata/followers","following_url":"https://api.github.com/users/sebi-hgdata/following{/other_user}","gists_url":"https://api.github.com/users/sebi-hgdata/gists{/gist_id}","starred_url":"https://api.github.com/users/sebi-hgdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebi-hgdata/subscriptions","organizations_url":"https://api.github.com/users/sebi-hgdata/orgs","repos_url":"https://api.github.com/users/sebi-hgdata/repos","events_url":"https://api.github.com/users/sebi-hgdata/events{/privacy}","received_events_url":"https://api.github.com/users/sebi-hgdata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-25T10:45:57Z","updated_at":"2015-11-25T12:24:57Z","closed_at":null,"body":"$ sudo docker info\r\nContainers: 11\r\nImages: 590\r\nServer Version: 1.9.1\r\nStorage Driver: overlay\r\n Backing Filesystem: extfs\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 4.3.0-040300-generic\r\nOperating System: Ubuntu 14.04.3 LTS\r\nCPUs: 8\r\nTotal Memory: 15.16 GiB\r\nName: sebi\r\nID: G3MJ:2URQ:P7DQ:5Z4W:GAW4:RYKP:U23J:NPER:IFEQ:XLFB:QX77:H3VA\r\nUsername: sebihgdata\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No swap limit support\r\nCluster store: consul://localhost:8500\r\nCluster advertise: 192.168.77.233:2375\r\n\r\n$ sudo docker version\r\nClient:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:12:04 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:12:04 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nSteps to reproduce:\r\n  I have an apache httpd container that is connected to 2 overlay networks and exposes the 443 port... after several container restarts the port will fail to be exposed. \r\n  I created a typescript gist at https://gist.github.com/sebi-hgdata/adcfe6585911df94b33c (see last iptables --list command)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/159592497","html_url":"https://github.com/docker/docker/issues/18222#issuecomment-159592497","issue_url":"https://api.github.com/repos/docker/docker/issues/18222","id":159592497,"user":{"login":"sebi-hgdata","id":11443582,"avatar_url":"https://avatars.githubusercontent.com/u/11443582?v=3","gravatar_id":"","url":"https://api.github.com/users/sebi-hgdata","html_url":"https://github.com/sebi-hgdata","followers_url":"https://api.github.com/users/sebi-hgdata/followers","following_url":"https://api.github.com/users/sebi-hgdata/following{/other_user}","gists_url":"https://api.github.com/users/sebi-hgdata/gists{/gist_id}","starred_url":"https://api.github.com/users/sebi-hgdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebi-hgdata/subscriptions","organizations_url":"https://api.github.com/users/sebi-hgdata/orgs","repos_url":"https://api.github.com/users/sebi-hgdata/repos","events_url":"https://api.github.com/users/sebi-hgdata/events{/privacy}","received_events_url":"https://api.github.com/users/sebi-hgdata/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T12:24:57Z","updated_at":"2015-11-25T12:24:57Z","body":"One interesting fact is that if I first create the container with net bridge and after I connect it to the 2 overlay networks,  this issue seems to not reproduce (tried a couple of times)"}}