- Docker for the Laravel framework (24 Sep 2014)
- Beautiful Laravel Development with Docker & Fig (9 Oct 2014)
An automated build for this repo is available on the Docker Hub.
This image works well with the below related images.
If you have any feedback or questions, feel free to leave a comment on my blog, or you can contact me on Twitter with @dylanlindgren or email with email@example.com.
I am trying to understand this file because it does not work for me. So the first thing I wonder is why do you set a WORKDIR /opt/bin at the end if nothing that follows in the file will make use of it?
Because as I read the difinition of WORKDIR of docker, they say "The WORKDIR instruction sets the working directory for any RUN, CMD, ENTRYPOINT, COPY and ADD instructions that follow it in the Dockerfile."
I assume that the path that is inbetween quotes that you use in your ENTRYPOINT statement will not be affected?
Or am I wrong?
I am trying to get this (and the other containers for laravel on docker) up and running, however my NginX exits and does not run in -d mode. I am trying to make this work on google cloud platform)
The dockerfile makes use of PHP-FPM, which isn't installed according to the dockerfile commands.
The intention of the Owner is to run it as:
$ docker pull dylanlindgren/docker-laravel-data && \ docker pull dylanlindgren/docker-laravel-composer && \ docker pull dylanlindgren/docker-laravel-artisan && \ docker pull dylanlindgren/docker-laravel-phpfpm && \ docker pull dylanlindgren/docker-laravel-nginx && \ docker pull dylanlindgren/docker-laravel-bower
Not on its own, creating some issues.
I also get this using Kitematic
When I run
docker run -t -i dylanlindgren/docker-laravel-nginx /bin/bash
nginx: [emerg] no host in upstream ":9000" in /etc/nginx/nginx.conf:14
what mistake I made?