{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/4111","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/4111/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/4111/comments","events_url":"https://api.github.com/repos/docker/compose/issues/4111/events","html_url":"https://github.com/docker/compose/issues/4111","id":187152172,"number":4111,"title":"Error mounting from mac client to windows host","user":{"login":"patrickleet","id":474827,"avatar_url":"https://avatars.githubusercontent.com/u/474827?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickleet","html_url":"https://github.com/patrickleet","followers_url":"https://api.github.com/users/patrickleet/followers","following_url":"https://api.github.com/users/patrickleet/following{/other_user}","gists_url":"https://api.github.com/users/patrickleet/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickleet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickleet/subscriptions","organizations_url":"https://api.github.com/users/patrickleet/orgs","repos_url":"https://api.github.com/users/patrickleet/repos","events_url":"https://api.github.com/users/patrickleet/events{/privacy}","received_events_url":"https://api.github.com/users/patrickleet/received_events","type":"User","site_admin":false},"labels":[{"id":345371703,"url":"https://api.github.com/repos/docker/compose/labels/group/windows-server","name":"group/windows-server","color":"eb6420","default":false},{"id":69777239,"url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-03T18:26:39Z","updated_at":"2016-11-16T01:56:29Z","closed_at":null,"body":"I've set up a vagrant machine running windows server 2016, and set the DOCKER_HOST to point to that VM, and have configured docker-compose to use my external network, so I'm able to access the site that is running in the windows VM in my browser. The only piece I cannot get to work is mounting volumes, so changes from development on my mac are reflected in the windows container.\r\n\r\n```\r\n➜ docker-compose --version       \r\ndocker-compose version 1.9.0-rc2, build a2da43b\r\n```\r\n\r\n```\r\n➜ docker version                                                              \r\nClient:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6b644ec\r\n Built:        Thu Oct 27 00:09:21 2016\r\n OS/Arch:      darwin/amd64\r\n Experimental: true\r\n\r\nServer:\r\n Version:      1.12.2-cs2-ws-beta\r\n API version:  1.25\r\n Go version:   go1.7.1\r\n Git commit:   050b611\r\n Built:        Tue Oct 11 02:35:40 2016\r\n OS/Arch:      windows/amd64\r\n```\r\n\r\n_docker-compose.yml_\r\n```\r\nversion: '2.1'\r\n\r\nnetworks:\r\n\r\n  default:\r\n    external:\r\n      name: nat\r\n\r\nservices:\r\n\r\n  site:\r\n    build: .\r\n    ports:\r\n      - '80:80'\r\n    volumes:\r\n      - .:/c/site\r\n```\r\n\r\nMaybe this isn't possible yet. I've tried a whole bunch of slightly different configs, including an absolute path to my current directory, just `/site`, and `c:/site`\r\n\r\nI've also tried with just Docker, so maybe it would be better to post on docker/docker\r\n\r\n```\r\n➜ docker run --name mysite -d -p 80:80 -v .:/c/site site \r\ndocker: Error response from daemon: invalid bind mount spec \".:/c/site\": invalid volume specification: '.:\\c\\site'.\r\n```\r\n\r\nThis would complete my development workflow on Mac for windows, so hopefully it is something I'm doing wrong!"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/260830494","html_url":"https://github.com/docker/compose/issues/4111#issuecomment-260830494","issue_url":"https://api.github.com/repos/docker/compose/issues/4111","id":260830494,"user":{"login":"shin-","id":1086876,"avatar_url":"https://avatars.githubusercontent.com/u/1086876?v=3","gravatar_id":"","url":"https://api.github.com/users/shin-","html_url":"https://github.com/shin-","followers_url":"https://api.github.com/users/shin-/followers","following_url":"https://api.github.com/users/shin-/following{/other_user}","gists_url":"https://api.github.com/users/shin-/gists{/gist_id}","starred_url":"https://api.github.com/users/shin-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shin-/subscriptions","organizations_url":"https://api.github.com/users/shin-/orgs","repos_url":"https://api.github.com/users/shin-/repos","events_url":"https://api.github.com/users/shin-/events{/privacy}","received_events_url":"https://api.github.com/users/shin-/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T01:56:29Z","updated_at":"2016-11-16T01:56:29Z","body":"Oh yeah, that's a problem indeed. It's a specific use-case we don't cover at the moment, unfortunately.\r\n\r\nIn the meantime, a possible workaround would be to use docker-compose inside your VM."}}
{"actor":{"display_login":"shin-"}}