Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Ambassador

Fork of ctlc-docker-ambassador, moving it to the latest ubuntu

Ambassador Pattern Linking

Ambassadors are containers who's sole purpose is to help connect containers across multiple hosts.

Read more at http://www.centurylinklabs.com/ambassadors-how-to-link-docker-containers-across-servers

# start actual MySQL server
$ docker run -d --name mysql ctlc/mysql

# then to run it (on the host that has the real backend on it)
$ docker run -d --link mysql:mysql --name mysql_ambassador -p 3306:3306 ctlc/ambassador

# on the remote host, you can set up another ambassador setting environment variables for each remote port we want to proxy
$ docker run -d --name mysql_ambassador_proxy -p 3306 -e MYSQL_PORT_3306_TCP=tcp://172.17.42.1:3306 ctlc/ambassador
Docker Pull Command
Owner
jgriffiths1993
Source Repository