{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12956","labels_url":"https://api.github.com/repos/docker/docker/issues/12956/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12956/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12956/events","html_url":"https://github.com/docker/docker/issues/12956","id":72987034,"number":12956,"title":"can't Mount a Host Directory as a Data Volume to container  using  training/webapp image","user":{"login":"DanielYuan2012","id":6072877,"avatar_url":"https://avatars.githubusercontent.com/u/6072877?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielYuan2012","html_url":"https://github.com/DanielYuan2012","followers_url":"https://api.github.com/users/DanielYuan2012/followers","following_url":"https://api.github.com/users/DanielYuan2012/following{/other_user}","gists_url":"https://api.github.com/users/DanielYuan2012/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielYuan2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielYuan2012/subscriptions","organizations_url":"https://api.github.com/users/DanielYuan2012/orgs","repos_url":"https://api.github.com/users/DanielYuan2012/repos","events_url":"https://api.github.com/users/DanielYuan2012/events{/privacy}","received_events_url":"https://api.github.com/users/DanielYuan2012/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-04T10:32:06Z","updated_at":"2015-05-04T10:32:06Z","closed_at":null,"body":"my environment:\r\n\r\nUbuntu 14.04.2 LTS\r\n\r\ndaniel@ubuntu:~$ docker version\r\nClient version: 1.6.0\r\nClient API version: 1.18\r\nGo version (client): go1.4.2\r\nGit commit (client): 4749651\r\nOS/Arch (client): linux/amd64\r\nServer version: 1.6.0\r\nServer API version: 1.18\r\nGo version (server): go1.4.2\r\nGit commit (server): 4749651\r\nOS/Arch (server): linux/amd64\r\n\r\nrun the command ：\r\n\r\ndocker run -d -P --name web11  -v /src/webapp:/opt/webapp  training/webapp  python app.py\r\n25c331cc25a0d35c3b572e42a614c3425d395af9de4bb2efcccb7334b523ae47\r\n\r\nthe web11 container exited immediately,\r\n\r\ncheck the container log:\r\ndaniel@ubuntu:~$ docker logs web11\r\npython: can't open file 'app.py': [Errno 2] No such file or directory\r\n\r\nwhen not mount a host directory, \r\nrun this command:\r\nsudo docker run -d -P --name web -v /webapp training/webapp python app.py\r\n\r\ncontainer can be created successfully.\r\n\r\n\r\nThere should be some issue when analyse the arguments when mount a directory to a\r\n container using training/webapp image."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/98671764","html_url":"https://github.com/docker/docker/issues/12956#issuecomment-98671764","issue_url":"https://api.github.com/repos/docker/docker/issues/12956","id":98671764,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T10:32:06Z","updated_at":"2015-05-04T10:32:06Z","body":"Hi!\nIf you are reporting a new issue, PLEASE make sure that does not have any duplicates already open. \n\nWe would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is _not_ about a bug, do not fret.\n\nIf you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.\n\nThank you.\n\nPlease see:\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\n~~~console\nDescription of problem:\n\n\n`docker version`:\n\n\n`docker info`:\n\n\n`uname -a`:\n\n\nEnvironment details (AWS, VirtualBox, physical, etc.):\n\n\nHow reproducible:\n\n\nSteps to Reproduce:\n1.\n2.\n3.\n\n\nActual Results:\n\n\nExpected Results:\n\n\nAdditional info:\n\n\n\n~~~\n\n#ENEEDMOREINFO\n"}}