How to Solve Docker ERROR: Service’workspace’ failed to build: ERROR: Service’php-fpm’ failed to build

Use Laradock to build a PHP development environment based on Docker in Windows system to
execute commandsdocker-compose up nginx mysql redis

Errors occur during execution
newspaper laradock ERROR: Service ‘workspace’ failed to build:
reporteddocker ERROR: Service 'php-fpm' failed to build:

Solution: .envthe WORKSPACE_TIMEZONE=UTCchange WORKSPACE_TIMEZONE=PRC.

In C:\Windows\System32\drivers\etcthe Add

199.232.28.133 raw.githubusercontent.com

Then you need to try a few more times, and the network may have problems.


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *