Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Docker-vagrant stuck on missing RPROXY #169

Open
drsdre opened this issue Apr 17, 2015 · 1 comment
Open

Docker-vagrant stuck on missing RPROXY #169

drsdre opened this issue Apr 17, 2015 · 1 comment

Comments

@drsdre
Copy link
Contributor

drsdre commented Apr 17, 2015

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)

@Quexer69
Copy link
Contributor

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants