{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12590","labels_url":"https://api.github.com/repos/docker/docker/issues/12590/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12590/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12590/events","html_url":"https://github.com/docker/docker/issues/12590","id":69790004,"number":12590,"title":"Problem with -v shared folders in 1.6","user":{"login":"dmenne","id":506275,"avatar_url":"https://avatars.githubusercontent.com/u/506275?v=3","gravatar_id":"","url":"https://api.github.com/users/dmenne","html_url":"https://github.com/dmenne","followers_url":"https://api.github.com/users/dmenne/followers","following_url":"https://api.github.com/users/dmenne/following{/other_user}","gists_url":"https://api.github.com/users/dmenne/gists{/gist_id}","starred_url":"https://api.github.com/users/dmenne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmenne/subscriptions","organizations_url":"https://api.github.com/users/dmenne/orgs","repos_url":"https://api.github.com/users/dmenne/repos","events_url":"https://api.github.com/users/dmenne/events{/privacy}","received_events_url":"https://api.github.com/users/dmenne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-21T09:08:41Z","updated_at":"2015-04-27T18:30:19Z","closed_at":"2015-04-23T07:02:25Z","body":"System: Window 7/64\r\n\r\nWith:\r\n``` \r\nBoot2Docker version 1.5.0, build master : a66bce5 - Tue Feb 10 23:31:27 UTC 2015 \r\n\r\ndocker run \\\r\n  -v /c/Users/Dieter/Documents/Gastrobase:/home/shiny/Gastrobase \\\r\n  hello-world\r\n```\r\n\r\nis a valid command. This is a simplified and function-less test version, see below for the \"real\" one. Note that /Dieter is a valid user, please replace for testing.\r\n\r\nWith \r\n```\r\n$ 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): windows/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\n```\r\n\r\nI could not find out how to define the path in -v; I tried several of the variants mentioned in the docs of 1.5 on shared folders.\r\n\r\n```  \r\n$ docker run \\\r\n>   -v /c/Users/Dieter/Documents/Gastrobase:/home/shiny/Gastrobase \\\r\n>   hello-world\r\ninvalid value \"c:\\\\Users\\\\Dieter\\\\Documents\\\\Gastrobase;C:\\\\Program Files (x86)\\\\Git\\\\home\\\\shiny\\\\Gastrobase\" for flag -v: \\Users\\Dieter\\Documents\\Ga\r\nstrobase;C:\\Program Files (x86)\\Git\\home\\shiny\\Gastrobase is not an absolute path\r\nSee 'c:\\Program Files\\Boot2Docker for Windows\\docker.exe run --help'.\r\n```\r\n\r\n---- Real application -------------  \r\n\r\n```\r\ndocker run --restart=always --name gastrobase -d -p 3838:3838 \\\r\n  -v /c/Users/Dieter/Documents/Gastrobase:/home/shiny/Gastrobase \\\r\n  dmenne/gastro-docker\r\n\r\n\r\nDieter@DIETERPC ~\r\n$ docker run --restart=always --name gastrobase -d -p 3838:3838 \\\r\n>   -v /c/Users/Dieter/Documents/Gastrobase:/home/shiny/Gastrobase \\\r\n>   dmenne/gastro-docker\r\ninvalid value \"c:\\\\Users\\\\Dieter\\\\Documents\\\\Gastrobase;C:\\\\Program Files (x86)\\\\Git\\\\home\\\\shiny\\\\Gastrobase\" for flag -v: \\Users\\Dieter\\Documents\\Ga\r\nstrobase;C:\\Program Files (x86)\\Git\\home\\shiny\\Gastrobase is not an absolute path\r\nSee 'c:\\Program Files\\Boot2Docker for Windows\\docker.exe run --help'.\r\n\r\n```` \r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/96771667","html_url":"https://github.com/docker/docker/issues/12590#issuecomment-96771667","issue_url":"https://api.github.com/repos/docker/docker/issues/12590","id":96771667,"user":{"login":"dmenne","id":506275,"avatar_url":"https://avatars.githubusercontent.com/u/506275?v=3","gravatar_id":"","url":"https://api.github.com/users/dmenne","html_url":"https://github.com/dmenne","followers_url":"https://api.github.com/users/dmenne/followers","following_url":"https://api.github.com/users/dmenne/following{/other_user}","gists_url":"https://api.github.com/users/dmenne/gists{/gist_id}","starred_url":"https://api.github.com/users/dmenne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmenne/subscriptions","organizations_url":"https://api.github.com/users/dmenne/orgs","repos_url":"https://api.github.com/users/dmenne/repos","events_url":"https://api.github.com/users/dmenne/events{/privacy}","received_events_url":"https://api.github.com/users/dmenne/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T18:30:19Z","updated_at":"2015-04-27T18:30:19Z","body":"Krr... I thought I had tried that variant, but possible only with backslashes. Does not look hacky, but quite ok and works. Thank's for sharing. Could we put that into the docs of shared folders?"}}