{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/5030","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/5030/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/5030/comments","events_url":"https://api.github.com/repos/docker/compose/issues/5030/events","html_url":"https://github.com/docker/compose/issues/5030","id":243309929,"node_id":"MDU6SXNzdWUyNDMzMDk5Mjk=","number":5030,"title":"[Windows] Files are mounted as directories","user":{"login":"MaciejKucia","id":2974328,"node_id":"MDQ6VXNlcjI5NzQzMjg=","avatar_url":"https://avatars0.githubusercontent.com/u/2974328?v=4","gravatar_id":"","url":"https://api.github.com/users/MaciejKucia","html_url":"https://github.com/MaciejKucia","followers_url":"https://api.github.com/users/MaciejKucia/followers","following_url":"https://api.github.com/users/MaciejKucia/following{/other_user}","gists_url":"https://api.github.com/users/MaciejKucia/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejKucia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejKucia/subscriptions","organizations_url":"https://api.github.com/users/MaciejKucia/orgs","repos_url":"https://api.github.com/users/MaciejKucia/repos","events_url":"https://api.github.com/users/MaciejKucia/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejKucia/received_events","type":"User","site_admin":false},"labels":[{"id":345373281,"node_id":"MDU6TGFiZWwzNDUzNzMyODE=","url":"https://api.github.com/repos/docker/compose/labels/group/windows-client","name":"group/windows-client","color":"eb6420","default":false},{"id":69777239,"node_id":"MDU6TGFiZWw2OTc3NzIzOQ==","url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-07-17T06:59:52Z","updated_at":"2018-10-14T14:49:42Z","closed_at":"2017-07-27T19:43:03Z","author_association":"NONE","body":"docker-compose.yml:\r\n```\r\nversion: '3'\r\nservices:\r\n db:\r\n  image: mariadb\r\n  restart: always\r\n  environment:\r\n   MYSQL_ROOT_PASSWORD: mypassword\r\n   MYSQL_DATABASE: prestashop\r\n  volumes:\r\n   - ./sql:/docker-entrypoint-initdb.d\r\n```\r\n\r\n```\r\nPS C:\\Users\\Maciej\\arturo> Get-ChildItem -Recurse\r\n\r\n\r\n    Directory: C:\\Users\\Maciej\\arturo\r\n\r\n\r\nMode                LastWriteTime         Length Name\r\n----                -------------         ------ ----\r\nd-----       2017-07-17     01:01                sql\r\n-a----       2017-07-17     01:09            946 docker-compose.yml\r\n\r\n    Directory: C:\\Users\\Maciej\\arturo\\sql\r\n\r\n\r\nMode                LastWriteTime         Length Name\r\n----                -------------         ------ ----\r\n-a----       2017-07-17     00:43         508211 prestashop.sql\r\n```\r\n\r\n```\r\nPS C:\\Users\\Maciej\\arturo> docker exec -it arturo_db_1 /bin/bash\r\nroot@8d9af1c0ea4a:/# cd /docker-entrypoint-initdb.d/\r\nroot@8d9af1c0ea4a:/docker-entrypoint-initdb.d# ls -l\r\ntotal 0\r\ndrwxr-xr-x  3 root     root      60 Jul 16 22:58 sql\r\nroot@8d9af1c0ea4a:/docker-entrypoint-initdb.d# cd sql\r\nroot@8d9af1c0ea4a:/docker-entrypoint-initdb.d/sql# ls -l\r\ntotal 0\r\ndrwxr-xr-x 2 root root 40 Jul 16 22:58 prestashop.sql\r\nroot@8d9af1c0ea4a:/docker-entrypoint-initdb.d/sql#\r\n```\r\n\r\n```\r\nPS C:\\Users\\Maciej\\arturo> docker version\r\nClient:\r\n Version:      17.06.0-ce\r\n API version:  1.30\r\n Go version:   go1.8.3\r\n Git commit:   02c1d87\r\n Built:        Fri Jun 23 21:30:30 2017\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      17.06.0-ce\r\n API version:  1.30 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   02c1d87\r\n Built:        Fri Jun 23 21:51:55 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\n```\r\n\r\n```\r\nPS C:\\Users\\Maciej\\arturo> docker info\r\nContainers: 3\r\n Running: 2\r\n Paused: 0\r\n Stopped: 1\r\nImages: 9\r\nServer Version: 17.06.0-ce\r\nStorage Driver: overlay2\r\n Backing Filesystem: extfs\r\n Supports d_type: true\r\n Native Overlay Diff: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host ipvlan macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: cfb82a876ecc11b5ca0977d1733adbe58599088a\r\nrunc version: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.9.36-moby\r\nOperating System: Alpine Linux v3.5\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 2\r\nTotal Memory: 1.934GiB\r\nName: moby\r\nID: J6S3:DSSH:PEKF:VHZT:2OVL:4RGK:M3VG:3YGI:MI7O:PYMO:W5DB:LZIO\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 35\r\n Goroutines: 51\r\n System Time: 2017-07-17T06:57:11.1749416Z\r\n EventsListeners: 1\r\nRegistry: https://index.docker.io/v1/\r\nExperimental: true\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\n```\r\n\r\n```\r\nPS C:\\Users\\Maciej\\arturo> docker-compose version\r\ndocker-compose version 1.14.0, build c7bdf9e3\r\ndocker-py version: 2.3.0\r\nCPython version: 2.7.13\r\nOpenSSL version: OpenSSL 1.0.2j  26 Sep 2016\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/429632480","html_url":"https://github.com/docker/compose/issues/5030#issuecomment-429632480","issue_url":"https://api.github.com/repos/docker/compose/issues/5030","id":429632480,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYzMjQ4MA==","user":{"login":"PSanetra","id":7327745,"node_id":"MDQ6VXNlcjczMjc3NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/7327745?v=4","gravatar_id":"","url":"https://api.github.com/users/PSanetra","html_url":"https://github.com/PSanetra","followers_url":"https://api.github.com/users/PSanetra/followers","following_url":"https://api.github.com/users/PSanetra/following{/other_user}","gists_url":"https://api.github.com/users/PSanetra/gists{/gist_id}","starred_url":"https://api.github.com/users/PSanetra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSanetra/subscriptions","organizations_url":"https://api.github.com/users/PSanetra/orgs","repos_url":"https://api.github.com/users/PSanetra/repos","events_url":"https://api.github.com/users/PSanetra/events{/privacy}","received_events_url":"https://api.github.com/users/PSanetra/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T14:49:42Z","updated_at":"2018-10-14T14:49:42Z","author_association":"NONE","body":"Had the same issue. I could fix it by unselecting the shared drive and reselecting it again."}}
{"actor":{"display_login":"PSanetra"}}