{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/27026","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/27026/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/27026/comments","events_url":"https://api.github.com/repos/docker/docker/issues/27026/events","html_url":"https://github.com/docker/docker/issues/27026","id":180082403,"number":27026,"title":"“docker: Error response from daemon: mkdir file exists” while sharing host directory with container","user":{"login":"reypm","id":627886,"avatar_url":"https://avatars.githubusercontent.com/u/627886?v=3","gravatar_id":"","url":"https://api.github.com/users/reypm","html_url":"https://github.com/reypm","followers_url":"https://api.github.com/users/reypm/followers","following_url":"https://api.github.com/users/reypm/following{/other_user}","gists_url":"https://api.github.com/users/reypm/gists{/gist_id}","starred_url":"https://api.github.com/users/reypm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reypm/subscriptions","organizations_url":"https://api.github.com/users/reypm/orgs","repos_url":"https://api.github.com/users/reypm/repos","events_url":"https://api.github.com/users/reypm/events{/privacy}","received_events_url":"https://api.github.com/users/reypm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/more-info-needed","name":"status/more-info-needed","color":"C6A49A"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-29T15:29:20Z","updated_at":"2016-09-29T17:30:15Z","closed_at":null,"body":"I am running a container as follow:\r\n\r\n    docker run -d -it \r\n                  -e PHP_ERROR_REPORTING='E_ALL & ~E_STRICT' \r\n                  -p 80:80 \r\n                  -v ~/sources:/var/www \r\n                  --name php5-dev reypm/php55-dev\r\n\r\n    16270611723c7803a19f8416c2e9bb641ae7430203d7950781481dad9a9ebc24\r\n    docker: Error response from daemon: mkdir /home/rperez/sources: file exists.\r\n\r\nAnd as you may notice it ends with the error above, why? It's not supposed that I can share existent sources from the host with the container?\r\n\r\nThat folder host an SSHFS mounted volume. Any advice?"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/250535595","html_url":"https://github.com/docker/docker/issues/27026#issuecomment-250535595","issue_url":"https://api.github.com/repos/docker/docker/issues/27026","id":250535595,"user":{"login":"tonistiigi","id":585223,"avatar_url":"https://avatars.githubusercontent.com/u/585223?v=3","gravatar_id":"","url":"https://api.github.com/users/tonistiigi","html_url":"https://github.com/tonistiigi","followers_url":"https://api.github.com/users/tonistiigi/followers","following_url":"https://api.github.com/users/tonistiigi/following{/other_user}","gists_url":"https://api.github.com/users/tonistiigi/gists{/gist_id}","starred_url":"https://api.github.com/users/tonistiigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonistiigi/subscriptions","organizations_url":"https://api.github.com/users/tonistiigi/orgs","repos_url":"https://api.github.com/users/tonistiigi/repos","events_url":"https://api.github.com/users/tonistiigi/events{/privacy}","received_events_url":"https://api.github.com/users/tonistiigi/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T17:30:15Z","updated_at":"2016-09-29T17:30:15Z","body":"@reypm What do you get with `stat /home/rperez/sources` . This error should mean that this path is a file(not a dir) or there is a permission error reading this path. Also note that `~/sources` should be relative to the user running the daemon process, not the client."}}
{"actor":{"display_login":"tonistiigi"}}