yii2 is not loaded via the composer

Viewed 17

You need to install the project, follow the instructions, docker-compose up is successfully completed, however, when executing the docker-compose exec php composer install -o --prefer-dist command, the following message appears:

Loading composer repositories with package information
Installing dependencies (including require-dev) from the lock file
Package operations: 244 installations, 0 updates, 0 deletions
- Installation of yiisoft/yii2-composer (2.0.8): Download (failed)       
Download (failed)       
Download (failed)    Failed to load yiisoft/yii2-composer from disk: "https://api.github.com/repos/yiisoft/yii2-composer/zipball/5c7ca9836cf80b34db265332a7f2f8438eb469b9 " file failed to load: stream failed to open: connection timeout expired
    Now I'm trying to download from the source code

I assume that there is a problem with network access, but I do not understand what is the matter

os - ubuntu environment - phpstorm

0 Answers
Related