我正在尝试为我的Magento 2 Commerce Cloud.
容器设置一个本地环境。
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
917897513a55 magento/magento-cloud-docker-elasticsearch:7.7-1.1 "/tini -- /usr/local…" 7 days ago Up 3 minutes (healthy) 9200/tcp, 9300/tcp nvmcloud_elasticsearch_1
3f222162cfb0 mariadb:10.4 "docker-entrypoint.s…" 7 days ago Up 3 minutes (healthy) 0.0.0.0:32769->3306/tcp nvmcloud_db_1
f1393e33a973 magento/magento-cloud-docker-tls:latest-1.1 "/entrypoint.sh" 7 days ago Up About a minute 0.0.0.0:443->443/tcp nvmcloud_tls_1
75fd66a30fce magento/magento-cloud-docker-varnish:latest-1.1 "/entrypoint.sh" 7 days ago Up About a minute 80/tcp nvmcloud_varnish_1
592c338aae5a magento/magento-cloud-docker-nginx:latest-1.1 "/docker-entrypoint.…" 7 days ago Up 2 minutes (healthy) 443/tcp, 0.0.0.0:8080->80/tcp nvmcloud_web_1
592f532e50c4 magento/magento-cloud-docker-php:7.3-fpm-1.1 "/docker-entrypoint.…" 7 days ago Up 2 minutes (healthy) 9000/tcp nvmcloud_fpm_1
5aa703aa8ede redis:5.0 "docker-entrypoint.s…" 7 days ago Up 3 minutes (healthy) 0.0.0.0:32768->6379/tcp nvmcloud_redis_1
5239984fe942 mailhog/mailhog:latest "MailHog" 7 days ago Up About an hour 0.0.0.0:1025->1025/tcp, 0.0.0.0:8025->8025/tcp nvmcloud_mailhog_1
当我运行docker-compose run deploy cloud-deploy
时,我收到此错误.Could not open input file: ./vendor/bin/ece-tools returned non-zero exit status 1
我是 docker 的新手,我的研究还没有导致任何解决方案.
谢谢!
从表面上看,ece-tools
软件包尚未安装。 请关注Magento 2 Cloud DevDocs:
如果您仍然使用Magento Commerce Cloud的版本,则不会 包含
ece-tools
包,则您的项目需要升级。 我们弃用了magento/magento-cloud-configuration
和magento/ece-patches
包以支持ece-tools
包。
参考: https://devdocs.magento.com/cloud/project/ece-tools-upgrade-project.html