问题
(HTTP code 500) server error - open \.\pipe\docker_engine_linux: The system cannot find the file specified.
复现
执行:
docker run -d -p 80:80 docker/getting-started
报错:
docker: Error response from daemon: open \.\pipe\docker_engine_linux: The system cannot find the file specified.
See ‘docker run --help’.
解决办法
网上有多种解决方案,
方案一
执行wsl --update
PS C:\Users\Administrator> wsl --update
正在检查更新。
已安装最新版本的适用于 Linux 的 Windows 子系统。