Closed wubuyun closed 6 years ago
hp@hp-HP-Compaq-6530b:~/yii2_fecshop_docker$ docker-compose exec php bash root@e671b8c6a660:/var/www/html# cd /www/web root@e671b8c6a660:/www/web# cd fecshop root@e671b8c6a660:/www/web/fecshop# composer update --no-plugins --no-scripts Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. root@e671b8c6a660:/www/web/fecshop# ./init Yii Application Initialization Tool v1.0
Which environment do you want the application to be initialized in?
[0] Development [1] Production
Your choice [0-1, or "q" to quit]
有问题去www.fecshop.com发帖。
hp@hp-HP-Compaq-6530b:~/yii2_fecshop_docker$ sudo docker-compose up -d [sudo] senha para hp: Starting yii2fecshopdocker_redis_1 ... Starting yii2fecshopdocker_mongodb_1 ... Starting yii2fecshopdocker_xunsearch_1 ... Starting yii2fecshopdocker_mysql_1 ... done Starting yii2fecshopdocker_php_1 ... done Starting yii2fecshopdocker_web_1 ... done hp@hp-HP-Compaq-6530b:~/yii2_fecshop_docker$ docker-compose exec php bash root@e671b8c6a660:/var/www/html# cd /www/web root@e671b8c6a660:/www/web# cd fecshop root@e671b8c6a660:/www/web/fecshop# composer update --no-plugins --no-scripts Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. root@e671b8c6a660:/www/web/fecshop# ./init bash: ./init: Permission denied