執行docker-compose up啓動項目時,報以下錯誤:git
ERRORERROR: Windows named pipe error: 膸碌脥艂艕艊藳祿碌藵脰賂露簍碌脛脦脛慕牛藝艁 (code: 2)github
根據提示報的錯,執行一下docker
再次運行docker-compose upspa
問題:rest
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.code
輸入:docker-machine env defaultblog
參考資料:ip
一、Windows Docker daemon not started after machine restart
https://github.com/moby/moby/issues/30239ci