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!
It seems like the php-nginx/redis container was not downloaded or installed correctly, try to do this:
docker images3f9705a53bbd_php-nginx image with docker rmi 3f9705a53bbd_php-nginxdocker-compose up again, this will download the missed images, which in our case is php-nginx/redisLet 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:
Most helpful comment
Oh, thanks @Mahmoudz , it worked!!!
Because of the conflict on port 80 (from my apache2 service) the
docker-compose upfailed 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: