What is the version of your Docker Desktop and the Docker CE in it? Please, share the output of
docker version
not as a picture, but a text. Use code blocks surrounded by three backticks before and after like
```
output here
```
\\.\pipe\docker_engine is a named pipe, not a file. The error you are experiencing existed, but Docker supports mounting named pipes on Windows. You could use the long syntax
docker run ... --mount type=npipe,source=\\.\pipe\docker_engine,target=\\.\pipe\docker_engine ...
but my version recognizes it is an named pipe and sets the type automatically.
Docker Desktop 4.34.0 and Dcoker CE (Engine) 27.2.0
Regarding double backslashes, named pipes require that, but according to the documentation, bind mounting files doesn’t unless you work in Git Bash
https://docs.docker.com/engine/storage/bind-mounts/#start-a-container-with-a-bind-mount
If you’re on Windows, see also Path conversions on Windows.
This is because the
\character has a special meaning in Git Bash. If you are using Git Bash, you must neutralize it using\\: