{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/4729","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/4729/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/4729/comments","events_url":"https://api.github.com/repos/docker/compose/issues/4729/events","html_url":"https://github.com/docker/compose/issues/4729","id":221366168,"number":4729,"title":"Cannot start services when ports are mentioned","user":{"login":"drgroot","id":4849446,"avatar_url":"https://avatars0.githubusercontent.com/u/4849446?v=3","gravatar_id":"","url":"https://api.github.com/users/drgroot","html_url":"https://github.com/drgroot","followers_url":"https://api.github.com/users/drgroot/followers","following_url":"https://api.github.com/users/drgroot/following{/other_user}","gists_url":"https://api.github.com/users/drgroot/gists{/gist_id}","starred_url":"https://api.github.com/users/drgroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drgroot/subscriptions","organizations_url":"https://api.github.com/users/drgroot/orgs","repos_url":"https://api.github.com/users/drgroot/repos","events_url":"https://api.github.com/users/drgroot/events{/privacy}","received_events_url":"https://api.github.com/users/drgroot/received_events","type":"User","site_admin":false},"labels":[{"id":69777235,"url":"https://api.github.com/repos/docker/compose/labels/kind/bug","name":"kind/bug","color":"fc2929","default":false},{"id":337671793,"url":"https://api.github.com/repos/docker/compose/labels/python3","name":"python3","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/compose/milestones/27","html_url":"https://github.com/docker/compose/milestone/27","labels_url":"https://api.github.com/repos/docker/compose/milestones/27/labels","id":2503047,"number":27,"title":"1.14.0","description":"","creator":{"login":"shin-","id":1086876,"avatar_url":"https://avatars0.githubusercontent.com/u/1086876?v=3","gravatar_id":"","url":"https://api.github.com/users/shin-","html_url":"https://github.com/shin-","followers_url":"https://api.github.com/users/shin-/followers","following_url":"https://api.github.com/users/shin-/following{/other_user}","gists_url":"https://api.github.com/users/shin-/gists{/gist_id}","starred_url":"https://api.github.com/users/shin-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shin-/subscriptions","organizations_url":"https://api.github.com/users/shin-/orgs","repos_url":"https://api.github.com/users/shin-/repos","events_url":"https://api.github.com/users/shin-/events{/privacy}","received_events_url":"https://api.github.com/users/shin-/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":8,"state":"open","created_at":"2017-05-05T18:42:23Z","updated_at":"2017-05-17T23:13:13Z","due_on":"2017-06-06T07:00:00Z","closed_at":null},"comments":12,"created_at":"2017-04-12T19:28:48Z","updated_at":"2017-05-18T01:15:07Z","closed_at":"2017-05-08T19:05:27Z","body":"For some reason I cannot bind the port correctly. When I remove the port, it works. If i change the port to any other number, it still does not work\r\n\r\n```\r\nversion: '3'\r\nservices:\r\n  rtorrent:\r\n    container_name: rtorrent\r\n    image: yusufali/rtorrent\r\n    privileged: true\r\n  web_nginx:\r\n    container_name: web_nginx\r\n    image: marvambass/nginx-ssl-secure\r\n    links:\r\n      - rtorrent:rtorrent\r\n    ports:\r\n      - \"8800:80\"\r\n```\r\n\r\nHowever, run I run docker-com up -d, this does not work\r\n```\r\nCreating network \"docker_default\" with the default driver\r\nCreating rtorrent\r\nCreating web_nginx\r\n\r\nERROR: for web_nginx  Cannot create container for service web_nginx: invalid port specification: \"None\"\r\nERROR: Encountered errors while bringing up the project.\r\n```\r\n\r\nUseful info:\r\n```\r\n# docker-compose --version\r\ndocker-compose version 1.12.0, build b31ff33\r\n# docker --version\r\nDocker version 17.04.0-ce, build 4845c56\r\n# uname -a\r\nLinux gsad 4.4.30-mod-std-ipv6-64 #9 SMP Tue Nov 1 17:58:26 CET 2016 x86_64 GNU/Linux\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/302273509","html_url":"https://github.com/docker/compose/issues/4729#issuecomment-302273509","issue_url":"https://api.github.com/repos/docker/compose/issues/4729","id":302273509,"user":{"login":"shin-","id":1086876,"avatar_url":"https://avatars0.githubusercontent.com/u/1086876?v=3","gravatar_id":"","url":"https://api.github.com/users/shin-","html_url":"https://github.com/shin-","followers_url":"https://api.github.com/users/shin-/followers","following_url":"https://api.github.com/users/shin-/following{/other_user}","gists_url":"https://api.github.com/users/shin-/gists{/gist_id}","starred_url":"https://api.github.com/users/shin-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shin-/subscriptions","organizations_url":"https://api.github.com/users/shin-/orgs","repos_url":"https://api.github.com/users/shin-/repos","events_url":"https://api.github.com/users/shin-/events{/privacy}","received_events_url":"https://api.github.com/users/shin-/received_events","type":"User","site_admin":false},"created_at":"2017-05-18T01:15:07Z","updated_at":"2017-05-18T01:15:07Z","body":"@svitlanacs Please note that a much better solution would be to upgrade your Python installation."}}
{"actor":{"display_login":"shin-"}}