When I run ./vendor/bin/ece-tools docker:build --mode="developer" cmd on terminal it is showing 'There are no commands defined in the "docker" namespace' error. I'm using magento 2.4.2 cloud version Any help would be appreciated.
@@ricardoatkinson3738 Thanks for the updated command. However, this throws Undefined array key "path" in vendor/magento/magento-cloud-docker/src/Compose/ProductionBuilder/VolumeResolver.php Any ideas about this?
Hi there, i have this issue when i use docker-compose run deploy cloud-deploy Thanks Starting sample_redis_1 ... done Starting sample_db_1 ... done Starting sample_elasticsearch_1 ... done [ ok ] Starting enhanced syslogd: rsyslogd. Running "deploy" hook. Traceback (most recent call last): File "/usr/local/bin/run-hooks", line 61, in main() File "/usr/local/bin/run-hooks", line 52, in main get_hooks(hook_name), File "/usr/local/bin/run-hooks", line 31, in get_hooks with open(get_magento_root() + "/.magento.app.yaml", 'r') as stream: FileNotFoundError: [Errno 2] No such file or directory: '/app/.magento.app.yaml'
Thank you so much for putting this together.
Glad you enjoyed it!
Great tutorial. One change is to ece-tools docker:config:convert It's been changed to: ./vendor/bin/ece-docker image:generate:php
When I run ./vendor/bin/ece-tools docker:build --mode="developer" cmd on terminal it is showing 'There are no commands defined in the "docker" namespace' error. I'm using magento 2.4.2 cloud version
Any help would be appreciated.
Hi Amit. Were you able to solve this Docker namespace problem? I’m running into the same issue.
@@andrewmiller4430 So, it looks like this has changed again. Try running ./vendor/bin/ece-tools docker:build --mode="developer"
This command worked for me ./vendor/bin/ece-docker build:compose --mode="developer"
@@ricardoatkinson3738 Thanks for the updated command. However, this throws Undefined array key "path" in vendor/magento/magento-cloud-docker/src/Compose/ProductionBuilder/VolumeResolver.php Any ideas about this?
Hi there, i have this issue when i use docker-compose run deploy cloud-deploy Thanks
Starting sample_redis_1 ... done
Starting sample_db_1 ... done
Starting sample_elasticsearch_1 ... done
[ ok ] Starting enhanced syslogd: rsyslogd.
Running "deploy" hook.
Traceback (most recent call last):
File "/usr/local/bin/run-hooks", line 61, in
main()
File "/usr/local/bin/run-hooks", line 52, in main
get_hooks(hook_name),
File "/usr/local/bin/run-hooks", line 31, in get_hooks
with open(get_magento_root() + "/.magento.app.yaml", 'r') as stream:
FileNotFoundError: [Errno 2] No such file or directory: '/app/.magento.app.yaml'
You can also try follow this setup for magento 2 CE version : th-cam.com/video/f3P2P3G-jM8/w-d-xo.html
Interesting that I saw no sync entries in the docker-complose.yml file