{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/8709","labels_url":"https://api.github.com/repos/docker/docker/issues/8709/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/8709/comments","events_url":"https://api.github.com/repos/docker/docker/issues/8709/events","html_url":"https://github.com/docker/docker/issues/8709","id":46523135,"number":8709,"title":"Unwanted ports bound when running a docker image","user":{"login":"migueln","id":2607760,"avatar_url":"https://avatars.githubusercontent.com/u/2607760?v=3","gravatar_id":"","url":"https://api.github.com/users/migueln","html_url":"https://github.com/migueln","followers_url":"https://api.github.com/users/migueln/followers","following_url":"https://api.github.com/users/migueln/following{/other_user}","gists_url":"https://api.github.com/users/migueln/gists{/gist_id}","starred_url":"https://api.github.com/users/migueln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migueln/subscriptions","organizations_url":"https://api.github.com/users/migueln/orgs","repos_url":"https://api.github.com/users/migueln/repos","events_url":"https://api.github.com/users/migueln/events{/privacy}","received_events_url":"https://api.github.com/users/migueln/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-22T15:26:18Z","updated_at":"2015-01-10T12:53:21Z","closed_at":null,"body":"Hi,\r\n\r\nI've created a new repository by committing an existing (but not running) container to a new name (e.g. mysoft). \r\n\r\nThe problem is that when I run it as:\r\n\r\ndocker run -t -i mysoft /bin/bash\r\n\r\nThe ports that I used to bind to the older container / image by using the '-p' parameter are exposed in this new container. \r\n\r\nIs this the expected behavior?. How can I get rid of it and run my new repo/image without exposing any of these older ports?.\r\n\r\nMiguel\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/69454802","html_url":"https://github.com/docker/docker/issues/8709#issuecomment-69454802","issue_url":"https://api.github.com/repos/docker/docker/issues/8709","id":69454802,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T12:53:21Z","updated_at":"2015-01-10T12:53:21Z","body":"See this issue https://github.com/docker/docker/issues/3465 (and PR https://github.com/docker/docker/pull/8177) for `UNSET`-ing properties inherited from a parent image.\r\n\r\nI think this should be closed as a dup of https://github.com/docker/docker/issues/3465\r\n"}}