{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/139","repository_url":"https://api.github.com/repos/aspnet/aspnet-docker","labels_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/139/comments","events_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/139/events","html_url":"https://github.com/aspnet/aspnet-docker/issues/139","id":148127988,"number":139,"title":"The short switch '-p' is not defined in the switch mappings","user":{"login":"zhshqzyc","id":7240266,"avatar_url":"https://avatars.githubusercontent.com/u/7240266?v=3","gravatar_id":"","url":"https://api.github.com/users/zhshqzyc","html_url":"https://github.com/zhshqzyc","followers_url":"https://api.github.com/users/zhshqzyc/followers","following_url":"https://api.github.com/users/zhshqzyc/following{/other_user}","gists_url":"https://api.github.com/users/zhshqzyc/gists{/gist_id}","starred_url":"https://api.github.com/users/zhshqzyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhshqzyc/subscriptions","organizations_url":"https://api.github.com/users/zhshqzyc/orgs","repos_url":"https://api.github.com/users/zhshqzyc/repos","events_url":"https://api.github.com/users/zhshqzyc/events{/privacy}","received_events_url":"https://api.github.com/users/zhshqzyc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-13T17:26:33Z","updated_at":"2016-04-13T18:11:22Z","closed_at":null,"body":"My Dockerfile in an asp.net core 1.0 mvc project is \r\n\r\n```\r\nFROM microsoft/aspnet:1.0.0-rc1-update1\r\nADD . /app\r\nWORKDIR /app/approot\r\nEXPOSE 5004\r\nENTRYPOINT [\"dnx\", \"-p\", \"project.json\", \"web\"]\r\n```\r\nThen in docker quick terminal.  Build the image was successfully. The command is\r\n`docker build -t hellodocker:0.1.0  .`\r\n\r\n![1](https://cloud.githubusercontent.com/assets/7240266/14502769/faeccef4-017a-11e6-8698-13302cd74e02.PNG)\r\n\r\nHowever when I run the command\r\n`docker run hellodocker:0.1.0 -p 5004`\r\nI got the exception, \r\n\r\n![exception](https://cloud.githubusercontent.com/assets/7240266/14502790/17126e7c-017b-11e6-9627-43ed898010e1.PNG)\r\n\r\nSo what is wrong?"},"comment":{"url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/comments/209573733","html_url":"https://github.com/aspnet/aspnet-docker/issues/139#issuecomment-209573733","issue_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/139","id":209573733,"user":{"login":"friism","id":126104,"avatar_url":"https://avatars.githubusercontent.com/u/126104?v=3","gravatar_id":"","url":"https://api.github.com/users/friism","html_url":"https://github.com/friism","followers_url":"https://api.github.com/users/friism/followers","following_url":"https://api.github.com/users/friism/following{/other_user}","gists_url":"https://api.github.com/users/friism/gists{/gist_id}","starred_url":"https://api.github.com/users/friism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friism/subscriptions","organizations_url":"https://api.github.com/users/friism/orgs","repos_url":"https://api.github.com/users/friism/repos","events_url":"https://api.github.com/users/friism/events{/privacy}","received_events_url":"https://api.github.com/users/friism/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T18:11:22Z","updated_at":"2016-04-13T18:11:22Z","body":"@zhshqzyc \r\n\r\n```\r\nC:\\code\\aspnet-home\\samples\\1.0.0-rc1-update1\\HelloMvc [dev ≡]> docker build -t aspnet-mvc .\r\n...\r\ndocker run -p 5000:5000 aspnet-mvc --server.urls http://0.0.0.0:5000\r\n...\r\n```\r\n\r\nThe app will then be listening on port 5000."}}