{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/2268","labels_url":"https://api.github.com/repos/docker/compose/issues/2268/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/2268/comments","events_url":"https://api.github.com/repos/docker/compose/issues/2268/events","html_url":"https://github.com/docker/compose/issues/2268","id":113724924,"number":2268,"title":"\"[8] System error: not a directory\" when trying to mount file ","user":{"login":"divyakumarjain","id":2039134,"avatar_url":"https://avatars.githubusercontent.com/u/2039134?v=3","gravatar_id":"","url":"https://api.github.com/users/divyakumarjain","html_url":"https://github.com/divyakumarjain","followers_url":"https://api.github.com/users/divyakumarjain/followers","following_url":"https://api.github.com/users/divyakumarjain/following{/other_user}","gists_url":"https://api.github.com/users/divyakumarjain/gists{/gist_id}","starred_url":"https://api.github.com/users/divyakumarjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divyakumarjain/subscriptions","organizations_url":"https://api.github.com/users/divyakumarjain/orgs","repos_url":"https://api.github.com/users/divyakumarjain/repos","events_url":"https://api.github.com/users/divyakumarjain/events{/privacy}","received_events_url":"https://api.github.com/users/divyakumarjain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-28T01:43:02Z","updated_at":"2016-01-25T13:52:49Z","closed_at":"2015-10-31T00:01:31Z","body":"I am trying to mount a file into a container but i am getting error \"\"\r\n\r\nFollowing is my docker-compose.yml\r\n\r\n```yml\r\nnginx:\r\n  image: nginx\r\n  ports:\r\n    - \"80:80\"\r\n  volumes:\r\n    - ./nginx/nginx.conf:/etc/nginx/nginx.conf\r\n```\r\n\r\nAs per following discussion https://github.com/docker/docker/issues/13276 have moved everything in c:/Users/${userid} folder. Also to share i am using rancheros instead of standard boot2docker.\r\n\r\n```\r\nClient:\r\n Version:      1.8.2\r\n API version:  1.20\r\n Go version:   go1.4.2\r\n Git commit:   0a8c2e3\r\n Built:        Thu Sep 10 19:10:10 UTC 2015\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      1.9.0-rc2\r\n API version:  1.21\r\n Go version:   go1.4.3\r\n Git commit:   60d36f7\r\n Built:        Fri Oct 23 00:20:59 UTC 2015\r\n OS/Arch:      linux/amd64\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/174514959","html_url":"https://github.com/docker/compose/issues/2268#issuecomment-174514959","issue_url":"https://api.github.com/repos/docker/compose/issues/2268","id":174514959,"user":{"login":"ruloweb","id":1186954,"avatar_url":"https://avatars.githubusercontent.com/u/1186954?v=3","gravatar_id":"","url":"https://api.github.com/users/ruloweb","html_url":"https://github.com/ruloweb","followers_url":"https://api.github.com/users/ruloweb/followers","following_url":"https://api.github.com/users/ruloweb/following{/other_user}","gists_url":"https://api.github.com/users/ruloweb/gists{/gist_id}","starred_url":"https://api.github.com/users/ruloweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruloweb/subscriptions","organizations_url":"https://api.github.com/users/ruloweb/orgs","repos_url":"https://api.github.com/users/ruloweb/repos","events_url":"https://api.github.com/users/ruloweb/events{/privacy}","received_events_url":"https://api.github.com/users/ruloweb/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T13:52:49Z","updated_at":"2016-01-25T13:52:49Z","body":"It used to give me the same error when I wanted to share a file, but in the container exists a directory with the same name. Just deleting the dir my problem was solved."}}