Open drsdre opened 9 years ago
Hi drsdre,
It now tells "First, run the reverse-proxy container like described in its README, before you start web application containers."
https://github.com/phundament/app/blob/master/docs/advanced/51-docker-virtual-hosts.md
thx for the hint!
I'm not able to complete the install for http://phundament.com/docs/51-vagrant-docker.md as vagrant docker get's stuck with: web: time="2015-04-16T08:30:25Z" level="fatal" msg="Error response from daemon: Could not get container for rproxy" A Docker command executed by Vagrant didn't complete successfully! The command run along with the output from the command is shown below.
Command: "docker" "run" "--name" "app_docker_vagrant_web_1429173024_1429173024" "-e" "APP_NAME=myapp-vagrant" "-e" "APP_PRETTY_URLS=1" "-e" "VIRTUAL_HOST=myapp-vagrant.192.168.7.6.xip.io" "--link" "rproxy:RPROXY" "--link" "db:DB" "-v" "/var/lib/docker/docker_1429172489_77938:/app" "-v" "/var/lib/docker/docker_1429172489_99334:/vagrant" "--rm=true" "941acfe1e6bc" "composer" "install" "--prefer-dist"
Stderr: time="2015-04-16T08:30:25Z" level="fatal" msg="Error response from daemon: Could not get container for rproxy"
The problem does seem to get resolved if I manually install the rproxy myself with: docker run -d --name rproxy -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock jwilder/nginx-proxy
Should these instructions be added to the documentation?
(Tested both on Mac OSX and Ubuntu 14.04)