Laradock: Cannot link to a non running container

Created on 27 Mar 2016  路  2Comments  路  Source: laradock/laradock

I followed the tutorial to installing Laradock on Ubuntu 15.10.

When I run the command docker-compose up -d I get the following error on terminal:
Starting data
Starting redis
Starting mysql
Starting 3f9705a53bbd_php-nginx
ERROR: Cannot link to a non running container: /9249350508fd_redis AS /php-nginx/redis
I'm new to docker, so I can't figure out if this issue is a bug or if I made a mistake.

And Thanks for this repo!

Need Help

Most helpful comment

Oh, thanks @Mahmoudz , it worked!!!

Because of the conflict on port 80 (from my apache2 service) the docker-compose up failed and after turn off my apache it was really necessary to delete the docker image.

So, after deleting the images with the command:

docker rmi -f <container ID>

I run again the command:

docker-compose up

:+1:

All 2 comments

It seems like the php-nginx/redis container was not downloaded or installed correctly, try to do this:

  1. first see all images docker images
  2. then delete the 3f9705a53bbd_php-nginx image with docker rmi 3f9705a53bbd_php-nginx
  3. lastly run docker-compose up again, this will download the missed images, which in our case is php-nginx/redis

Let me know of that fixes it.

Oh, thanks @Mahmoudz , it worked!!!

Because of the conflict on port 80 (from my apache2 service) the docker-compose up failed and after turn off my apache it was really necessary to delete the docker image.

So, after deleting the images with the command:

docker rmi -f <container ID>

I run again the command:

docker-compose up

:+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mahmoudz picture Mahmoudz  路  3Comments

ankit20893 picture ankit20893  路  3Comments

percymamedy picture percymamedy  路  3Comments

sudden-break picture sudden-break  路  3Comments

SamAriafar picture SamAriafar  路  3Comments