docker wsl error
时间: 2023-10-23 20:07:00 浏览: 101
根据引用中提到的信息,"docker: Error response from daemon"是指在使用Docker获取镜像时出现的错误响应。解决这个问题的方法可以参考引用中的步骤。首先,可以尝试将当前用户添加到docker用户组中,可以使用命令"sudo usermod -aG docker username",其中"username"是你的用户名。然后,重启WSL(Windows Subsystem for Linux)。接下来,启动Docker服务,可以使用命令"sudo service docker start"来启动。完成这些步骤后,可以尝试再次运行Docker命令来查看本地镜像。希望这些步骤能够帮助解决你的问题。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [Docker获取镜像报错docker: Error response from daemon](https://download.csdn.net/download/weixin_38630463/12899924)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Win10 WSL运行docker报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock.](https://download.csdn.net/download/weixin_38538585/14886893)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文