andrewholgate / docker-drupal-php70

A base docker image using PHP 7.0 and HTTP/2 on Ubuntu 14.04 for Drupal 8 projects.
3 stars 2 forks source link

ERROR: Service "drupalphp70db" mounts volumes from "mysql-drupal-php70", which is not the name of a service or container. #6

Closed ElijahLynn closed 8 years ago

ElijahLynn commented 8 years ago

Too much of a Docker noob to fix this right now but thought I would at least post an issue. I get this error while trying to follow the install steps.

$ sudo docker-compose build
ERROR: Service "drupalphp70db" mounts volumes from "mysql-drupal-php70", which is not the name of a service or container.

I know it says to customize the Yaml file but I don't know enough yet to know what to do.

Seems related to https://github.com/docker/compose/issues/1972

Any advice appreciated.

andrewholgate commented 8 years ago

This error is saying that it cannot find the MySQL container. Perhaps you skipped this step in the instructions.

If you're new to Docker, I recommend you start with my PHP70 project example which inherits from this container. I think it is a better starting point.