{"action":"closed","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-22T15:26:18Z","updated_at":"2015-02-21T03:31:59Z","closed_at":"2015-02-21T03:31:59Z","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"}}