windows下Docker无法正常启动-The system cannot find the file specified


问题:
docker ps
error during connect: In the default daemon configuration on Windows,
the docker client must be run with elevated privileges to
connect.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json": open //./pipe/docker_engine: The system cannot find the file specified.

解决步骤:

步骤一 管理员权限运行PowerShell
步骤二 cd "C:\Program Files\Docker\Docker"
步骤三 ./DockerCli.exe -SwitchDaemon


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM