{"action":"created","issue":{"url":"https://api.github.com/repos/shipyard/shipyard/issues/797","repository_url":"https://api.github.com/repos/shipyard/shipyard","labels_url":"https://api.github.com/repos/shipyard/shipyard/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/shipyard/shipyard/issues/797/comments","events_url":"https://api.github.com/repos/shipyard/shipyard/issues/797/events","html_url":"https://github.com/shipyard/shipyard/issues/797","id":150081046,"number":797,"title":"Can't get ports to expose to host port","user":{"login":"itaimalek","id":8522568,"avatar_url":"https://avatars.githubusercontent.com/u/8522568?v=3","gravatar_id":"","url":"https://api.github.com/users/itaimalek","html_url":"https://github.com/itaimalek","followers_url":"https://api.github.com/users/itaimalek/followers","following_url":"https://api.github.com/users/itaimalek/following{/other_user}","gists_url":"https://api.github.com/users/itaimalek/gists{/gist_id}","starred_url":"https://api.github.com/users/itaimalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itaimalek/subscriptions","organizations_url":"https://api.github.com/users/itaimalek/orgs","repos_url":"https://api.github.com/users/itaimalek/repos","events_url":"https://api.github.com/users/itaimalek/events{/privacy}","received_events_url":"https://api.github.com/users/itaimalek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T13:52:02Z","updated_at":"2016-04-21T19:36:02Z","closed_at":null,"body":"Hi,\r\nI'm very new to Docker, I decided to use shipyard as a management tool for containers.\r\nI'm running Docker and Shipyard on the same CentOS7 machine.\r\n\r\nI'm able to create containers but I can see the ports exposed.\r\nfor example, my image is set to expose ports 22,8080,8000,4403 - I set the ports conf. like so:\r\n![image](https://cloud.githubusercontent.com/assets/8522568/14711185/11504c90-07e1-11e6-9e99-89ffb3ae3bcd.png)\r\n\r\nbut I still get this once the container is created:\r\n![image](https://cloud.githubusercontent.com/assets/8522568/14711240/3f32f6d0-07e1-11e6-895f-652ed61fd04d.png)\r\n\r\nI want to be able to expose my ports like here:\r\n![image](https://cloud.githubusercontent.com/assets/8522568/14711294/7a15b5c6-07e1-11e6-86c1-a9ddfc9f7a87.png)\r\n\r\n\r\nwhat am i doing wrong?\r\n\r\n PS: I can of course do this when starting my container from my command line (no Shipyard involved)"},"comment":{"url":"https://api.github.com/repos/shipyard/shipyard/issues/comments/213082880","html_url":"https://github.com/shipyard/shipyard/issues/797#issuecomment-213082880","issue_url":"https://api.github.com/repos/shipyard/shipyard/issues/797","id":213082880,"user":{"login":"timothysnave","id":2824142,"avatar_url":"https://avatars.githubusercontent.com/u/2824142?v=3","gravatar_id":"","url":"https://api.github.com/users/timothysnave","html_url":"https://github.com/timothysnave","followers_url":"https://api.github.com/users/timothysnave/followers","following_url":"https://api.github.com/users/timothysnave/following{/other_user}","gists_url":"https://api.github.com/users/timothysnave/gists{/gist_id}","starred_url":"https://api.github.com/users/timothysnave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothysnave/subscriptions","organizations_url":"https://api.github.com/users/timothysnave/orgs","repos_url":"https://api.github.com/users/timothysnave/repos","events_url":"https://api.github.com/users/timothysnave/events{/privacy}","received_events_url":"https://api.github.com/users/timothysnave/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T19:36:01Z","updated_at":"2016-04-21T19:36:01Z","body":"I'm also having this issue, also on CentOS 7. I've tried every way I can think of to expose ports, and nothing will work. Running on Docker version 1.10.1, build 9e83765. Not sure what version of swarm."}}