laradock 執行報錯 Service 'workspace' failed to build:

heng525140052發表於2020-06-23

在Windows安裝了幾次docker都報錯 甚至買了啟用碼升級了Windows系統為專業版換成docker for Windows 還是報錯…

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
/bin/sh: 1: .: Can't open /home/laradock/.nvm/nvm.sh
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c if [ ${INSTALL_NODE} = true ]; then  

尋求了一番解決方案。比如下:
github.com/laradock/laradock/issue...

$ docker-compose build --no-cache workspace

或者
you need to stop workspace at first
then you try to build again once
$ docker-compose stop
$ docker-compose build workspace

GWF 的問題,在 www.ipaddress.com/
查詢 raw.githubusercontent.com 的真實 IP,
然後手工新增到 hosts檔案:
199.232.28.133 raw.githubusercontent.com

本作品採用《CC 協議》,轉載必須註明作者和本文連結

天下熙熙皆為利來,天下攘攘皆為利往

相關文章