简体   繁体   中英

docker: Error response from daemon: invalid volume specification: '/var/run/docker.sock:/var/run/docker.sock' - Windows 10

I want to install Appwrite for Windows 10, I copied and pasted the CMD command in their installation docs but I keep getting:

docker: Error response from daemon: invalid volume specification: '/var/run/docker.sock:/var/run/docker.sock'

PS: I have docker installed.


I tried to run the CMD as a administrator and tried to use download it from PowerShell, but I have the same issue.

Please make sure you have WSL 2 installed and Docker is configured to use WSL 2 based engine.

Additional references:

  1. Docker docs on WSL: https://docs.docker.com/desktop/windows/wsl/
  2. GitHub Issue: https://github.com/appwrite/appwrite/issues/5026#issuecomment-1408162967

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM