Skip to content

How does services get in to router table of fabio #237

@TargetFocussed

Description

@TargetFocussed

I have a single host machine

  1. Docker 1 => Consul-Server
  2. Docker 2 ==> Registrator
  3. Docker 3 ==> Fabio
  4. Docker 4 ==> Hello world

I am not able to see Hello World in the routing table ?.

Here are the commands I tried....did I miss any specifics ?

sudo docker run -d  -h consul-server1 --name consul-server1 -p 8300:8300 -p 8301:8301 -p 8301:8301/udp -p 8302:8302 -p 8302:8302/udp -p 8400:8400 -p 8500:8500 -p 8600:53/udp wdijkerman/consul -server -bootstrap -ui -ui-dir /consul/ui -advertise 10.193.6.129

sudo docker run -d -h consul-client1 --name consul-client1 -p 8300:8300 -p 8301:8301 -p 8301:8301/udp -p 8302:8302 -p 8302:8302/udp -p 8400:8400 -p 8500:8500 -p 8600:53/udp wdijkerman/consul -join 10.193.6.129 -advertise 10.193.16.117

sudo docker run -d -h registrator --name registrator -v /var/run/docker.sock:/tmp/docker.sock gliderlabs/registrator consul://10.193.6.129:8500

sudo docker run -d -h fabio --name fabio -p 10.193.6.129:9999:9999 -p 10.193.6.129:9998:9998 -e 'registry_consul_addr=10.193.6.129:8500' magiconair/fabio

sudo docker run -d -h hello-world-1 --name hello-world-1 -p 10.193.6.129:80:8000  -e SERVICE_TAGS=urlprefix-/ -e SERVICE_NAME=hello-world tutum/hello-world

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions