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