{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1587","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1587/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1587/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1587/events","html_url":"https://github.com/cockpit-project/cockpit/issues/1587","id":51888459,"number":1587,"title":"exposing ports for images that does not have expose syntax in their dockerfile","user":{"login":"hrezaee","id":10176697,"avatar_url":"https://avatars.githubusercontent.com/u/10176697?v=3","gravatar_id":"","url":"https://api.github.com/users/hrezaee","html_url":"https://github.com/hrezaee","followers_url":"https://api.github.com/users/hrezaee/followers","following_url":"https://api.github.com/users/hrezaee/following{/other_user}","gists_url":"https://api.github.com/users/hrezaee/gists{/gist_id}","starred_url":"https://api.github.com/users/hrezaee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrezaee/subscriptions","organizations_url":"https://api.github.com/users/hrezaee/orgs","repos_url":"https://api.github.com/users/hrezaee/repos","events_url":"https://api.github.com/users/hrezaee/events{/privacy}","received_events_url":"https://api.github.com/users/hrezaee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/needsdesign","name":"needsdesign","color":"d4c5f9"},{"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/starter","name":"starter","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"dperpeet","id":8711649,"avatar_url":"https://avatars.githubusercontent.com/u/8711649?v=3","gravatar_id":"","url":"https://api.github.com/users/dperpeet","html_url":"https://github.com/dperpeet","followers_url":"https://api.github.com/users/dperpeet/followers","following_url":"https://api.github.com/users/dperpeet/following{/other_user}","gists_url":"https://api.github.com/users/dperpeet/gists{/gist_id}","starred_url":"https://api.github.com/users/dperpeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dperpeet/subscriptions","organizations_url":"https://api.github.com/users/dperpeet/orgs","repos_url":"https://api.github.com/users/dperpeet/repos","events_url":"https://api.github.com/users/dperpeet/events{/privacy}","received_events_url":"https://api.github.com/users/dperpeet/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cockpit-project/cockpit/milestones/6","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/milestones/6/labels","id":601367,"number":6,"title":"Polish Docker","description":"Things that would be nice to have for Docker containers, but that we won't block the initial release on.","creator":{"login":"andreasn","id":209895,"avatar_url":"https://avatars.githubusercontent.com/u/209895?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasn","html_url":"https://github.com/andreasn","followers_url":"https://api.github.com/users/andreasn/followers","following_url":"https://api.github.com/users/andreasn/following{/other_user}","gists_url":"https://api.github.com/users/andreasn/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasn/subscriptions","organizations_url":"https://api.github.com/users/andreasn/orgs","repos_url":"https://api.github.com/users/andreasn/repos","events_url":"https://api.github.com/users/andreasn/events{/privacy}","received_events_url":"https://api.github.com/users/andreasn/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":29,"state":"open","created_at":"2014-03-18T12:47:37Z","updated_at":"2014-12-14T13:15:01Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2014-12-13T13:59:27Z","updated_at":"2015-01-16T08:50:11Z","closed_at":null,"body":"When the EXPOSE directive in the docker image is not used, no ports are exposed.\r\n\r\nBut there's an alternative way to expose ports using the -p or --publish option while running a container from the command line.\r\n\r\nPerhaps cockpit should detect that the expose syntax is not used, and offer to expose additional ports while running the container?\r\n\r\nOr give a notification that let's the user know that no ports will be exposed."},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/70224528","html_url":"https://github.com/cockpit-project/cockpit/issues/1587#issuecomment-70224528","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1587","id":70224528,"user":{"login":"dperpeet","id":8711649,"avatar_url":"https://avatars.githubusercontent.com/u/8711649?v=3","gravatar_id":"","url":"https://api.github.com/users/dperpeet","html_url":"https://github.com/dperpeet","followers_url":"https://api.github.com/users/dperpeet/followers","following_url":"https://api.github.com/users/dperpeet/following{/other_user}","gists_url":"https://api.github.com/users/dperpeet/gists{/gist_id}","starred_url":"https://api.github.com/users/dperpeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dperpeet/subscriptions","organizations_url":"https://api.github.com/users/dperpeet/orgs","repos_url":"https://api.github.com/users/dperpeet/repos","events_url":"https://api.github.com/users/dperpeet/events{/privacy}","received_events_url":"https://api.github.com/users/dperpeet/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T08:50:11Z","updated_at":"2015-01-16T08:50:11Z","body":"If a container defines ports to be exposed, I think a user shouldn't be able to delete those rows. Also, their internal port should be non-editable. Otherwise you could delete a row by accident and to restore the default state you would have to close and reopen the dialog."}}