mglaman / platform-docker

Local development tool for PHP platforms using Docker Compose
GNU General Public License v2.0
46 stars 16 forks source link

platform-docker init: Cannot link non running container #55

Open dbrekelmans opened 7 years ago

dbrekelmans commented 7 years ago

When running platform-docker init I got the following error:

[Exception] Error executing docker command: Starting projectname_mariadb_1 projectname_redis_1 is up-to-date Starting projectname_phpfpm_1 ERROR: for phpfpm Cannot link to a non running container: /projectname_mariadb_1 AS /projectname_phpfpm_1/mariadb Encountered errors while bringing up the project.

mglaman commented 7 years ago

Ah yeah I need to fix a change. There are boot2docker hacks for running mysql as root.

Can you manually edit the docker-compose.yml generated and remove --user=root and in the my.conf change user = root to user = mysql and see if that works? It has for me. If you 👍 I'll make the commit to fix

mglaman commented 7 years ago

This is brought up in #64. However missing second change