Install Shipyard to monitor Docker Containers
So far I have a number of containers on my ubuntu box , looked at the easiest way to manage them all and gave shipyard a try .
There are 2 ways to install shipyard both involve (without any surprise) to make use of docker containers.
I have tried the manual install as it gives me more flexibility . The link to the installation is found here . This comes as a number of docker images to run .
The key thing to bear in mind is that wherever you see <IP-OF-HOST> you need to add the actual public ip address of the docker host .
Below are some examples of where the swarm manager and agent ask for the <IP_OF_HOST>
docker run \ -ti \ -d \ --restart=always \ --name shipyard-swarm-manager \ swarm:latest \ manage --host tcp://0.0.0.0:3375 etcd://<IP-OF-HOST>:4001
docker run \ -ti \ -d \ --restart=always \ --name shipyard-swarm-agent \ swarm:latest \ join --addr <ip-of-host>:2375 etcd://<ip-of-host>:4001
Do not put localhost as this IP address else you will not be able to view containers on the docker host .
Also you can configure the port on which your shipyard WEB GUI is accessible by changing the port number below highlighted in yelow i.e 7777
docker run \ -ti \ -d \ --restart=always \ --name shipyard-controller \ --link shipyard-rethinkdb:rethinkdb \ --link shipyard-swarm-manager:swarm \ -p 7777:8080 \ shipyard/shipyard:latest \ server \ -d tcp://swarm:3375
There are 2 ways to install shipyard both involve (without any surprise) to make use of docker containers.
I have tried the manual install as it gives me more flexibility . The link to the installation is found here . This comes as a number of docker images to run .
The key thing to bear in mind is that wherever you see <IP-OF-HOST> you need to add the actual public ip address of the docker host .
Below are some examples of where the swarm manager and agent ask for the <IP_OF_HOST>
docker run \ -ti \ -d \ --restart=always \ --name shipyard-swarm-manager \ swarm:latest \ manage --host tcp://0.0.0.0:3375 etcd://<IP-OF-HOST>:4001
docker run \ -ti \ -d \ --restart=always \ --name shipyard-swarm-agent \ swarm:latest \ join --addr <ip-of-host>:2375 etcd://<ip-of-host>:4001
Do not put localhost as this IP address else you will not be able to view containers on the docker host .
Also you can configure the port on which your shipyard WEB GUI is accessible by changing the port number below highlighted in yelow i.e 7777
docker run \ -ti \ -d \ --restart=always \ --name shipyard-controller \ --link shipyard-rethinkdb:rethinkdb \ --link shipyard-swarm-manager:swarm \ -p 7777:8080 \ shipyard/shipyard:latest \ server \ -d tcp://swarm:3375