docker-examples
docker-examples copied to clipboard
Volume that uses named pipe does not work by default on windows
The following volume that uses named pipes are not properly working on docker-compose V2
https://github.com/Sitecore/docker-examples/blob/8b3b4b2bf07c6d0757e3445e3daf22423eeb2fdf/getting-started/docker-compose.yml#L19
Running docker-compose up will produce the following error:
Error response from daemon: Unrecognised volume spec: file '\\.\pipe\docker_engine' cannot be mapped. Only directories can be mapped on this platform
The workaround was to the disable the compose V2 on docker.
https://stackoverflow.com/questions/68010612/error-response-from-daemon-unrecognised-volume-spec-file-pipe-docker-engi