clean-docker / Magento2

Docker Image to Magento 2 local development in Mac, Linux and Windows
https://hub.docker.com/r/rafaelcgstz/magento2/
MIT License
444 stars 251 forks source link

ERROR: No container found for apache_1 #118

Open HosMercury opened 3 years ago

HosMercury commented 3 years ago

./shell Gave me that ERR

SamCritch commented 3 years ago

I get the same error too.

telefonosuci commented 3 years ago

Same error for me.. The only thing I can see happening before that is that after cloning and running init curl -s https://raw.githubusercontent.com/clean-docker/Magento2/master/init | bash -s MYMAGENTO2 clone

I can see the the docker-sync command fails: start: line 3: docker-sync: command not found

amaankulshreshtha commented 3 years ago

You need to run docker-compose up -d before running the ./shell.

If you look inside the ./shell file, you'll find that it tries to execute the bash command on an active container.

abdelrahman-iaaly-cko commented 3 years ago

You should install docker-sync before you pull the images gem install docker-sync