docker报错 ERROR: Service 'workspace' failed to build: ERROR: Service 'php-fpm' failed to build:
在 Windows 系统中使用 Laradock 搭建基于 Docker 的 PHP 开发环境
执行命令 docker-compose up nginx mysql redis
执行过程中出现错误
报 laradock ERROR: Service ‘workspace’ failed to build:
报 docker ERROR: Service 'php-fpm' failed to build:
解决方案: 将 .env中的WORKSPACE_TIMEZONE=UTC改为WORKSPACE_TIMEZONE=PRC。
在 C:\Windows\System32\drivers\etc中添加
199.232.28.133 raw.githubusercontent.com
然后需要多试几次,网络可能会出现问题。

浙公网安备 33010602011771号