简体   繁体   English

docker:来自守护程序的错误响应:无效的卷规范:'/var/run/docker.sock:/var/run/docker.sock' - Windows 10

[英]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:我想为 Windows 10 安装 Appwrite,我在他们的安装文档中复制并粘贴了 CMD 命令,但我不断收到:

docker: Error response from daemon: invalid volume specification: '/var/run/docker.sock:/var/run/docker.sock' docker:来自守护程序的错误响应:无效的卷规范:'/var/run/docker.sock:/var/run/docker.sock'

PS: I have docker installed. PS:我安装了docker。


I tried to run the CMD as a administrator and tried to use download it from PowerShell, but I have the same issue.我尝试以管理员身份运行 CMD 并尝试使用从 PowerShell 下载它,但我遇到了同样的问题。

Please make sure you have WSL 2 installed and Docker is configured to use WSL 2 based engine.请确保您已安装 WSL 2,并且 Docker 配置为使用基于 WSL 2 的引擎。

Additional references:其他参考资料:

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 准备失败:尝试在 unix:///var/run/docker.sock 连接到 Docker 守护程序套接字时获得权限被拒绝 - Preparation failed: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock 无法连接到 unix:///var/run/docker.sock 处的 Docker 守护程序。 docker 守护程序是否正在运行? 带有自托管运行器的 Gitlab Cloud CI/CD 错误 - Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Error on Gitlab Cloud CI/CD with self-hosted runners docker 运行失败,并显示“docker:来自守护程序的错误响应:地址已在使用中。” - docker run fails with “docker: Error response from daemon: Address already in use.” Docker 守护进程未在 windows 11 上运行 - Docker Daemon not running on windows 11 Docker守护进程一直写磁盘导致shell命令运行缓慢 - Docker daemon keeps writing disk and cause shell commands to run slowly 如何查看在 Windows 10 上的 Docker Daemon VM 上运行的所有进程 - How to see all processes running on Docker Daemon VM on Windows 10 获取 docker 错误,守护进程在 docker pull 上缺少签名密钥 - Getting docker error, daemon is missing signature key on docker pull 从 docker 启动 docker - 无法连接到守护进程 - Start docker from docker - Can't connect to daemon 此错误可能表明 docker 守护程序未运行 - This error may indicate that the docker daemon is not running Docker 守护程序错误无法解析参考 - Docker daemon error failing to resolve reference
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM