{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/24328","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/24328/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/24328/comments","events_url":"https://api.github.com/repos/docker/docker/issues/24328/events","html_url":"https://github.com/docker/docker/issues/24328","id":163833158,"number":24328,"title":"Can't bind container to unused port","user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-05T11:53:31Z","updated_at":"2016-07-05T12:05:05Z","closed_at":null,"body":"I've been playing around with swarm mode, and after a day or playing, it seems to have gotten confused.\r\n\r\n\r\n```\r\nubuntu@n6:~/chat$ docker run --rm -it -p 80:80 nginx\r\ndocker: Error response from daemon: driver failed programming external connectivity on endpoint tiny_liskov (9f3306d5c0e16969de239af52719a914fb94ee0219f3d041d382708368c274f0): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.\r\nubuntu@n6:~/chat$\r\nubuntu@n6:~/chat$\r\nubuntu@n6:~/chat$ docker ps -a\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\r\nubuntu@n6:~/chat$ docker service ls\r\nID  NAME  REPLICAS  IMAGE  COMMAND\r\nubuntu@n6:~/chat$\r\n```\r\n\r\n```\r\nubuntu@n6:~/chat$ docker version\r\nClient:\r\n Version:      1.12.0-rc3\r\n API version:  1.24\r\n Go version:   go1.6.2\r\n Git commit:   91e29e8\r\n Built:        Sat Jul  2 00:40:04 2016\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\n\r\nServer:\r\n Version:      1.12.0-rc3\r\n API version:  1.24\r\n Go version:   go1.6.2\r\n Git commit:   91e29e8\r\n Built:        Sat Jul  2 00:40:04 2016\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\nubuntu@n6:~/chat$\r\n```\r\n\r\nrebooting the server doesn't help, so its not a stuck daemon."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/230459936","html_url":"https://github.com/docker/docker/issues/24328#issuecomment-230459936","issue_url":"https://api.github.com/repos/docker/docker/issues/24328","id":230459936,"user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T12:05:05Z","updated_at":"2016-07-05T12:05:05Z","body":"recreating the service (using a dsb), and then scaling it up, shows that the swarm still has that port - I'm going to try deleting the ingress network :)"}}
{"actor":{"display_login":"SvenDowideit"}}