docker-compose up Windows named pipe error:(code: 2)


執行docker-compose up啟動項目時,報如下錯誤:

ERRORERROR: Windows named pipe error: 膸碌脥艂艕艊藳祿碌藵脰賂露簍碌脛脦脛慕牛藝艁 (code: 2)

 

根據提示報的錯,執行一下

再次運行docker-compose up

 

問題:

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/version: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

輸入:docker-machine env default

參考資料:

1、Windows Docker daemon not started after machine restart 
https://github.com/moby/moby/issues/30239


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM