September 14, 2015
Using docker-machine
The Docker machine is a command tool created by the docker team to manage docker servers. It automatically creates hosts and installs docker engine on them and configures the docker client to talk.
If you install the docker machine tool,you can use it like below:
$docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM host1 generic Running tcp://192.168.99.100:2376 host1 (master) host2 generic Running tcp://192.168.99.101:2376 host1 host3 generic Running tcp://192.168.99.102:2376 host1 demo0 virtualbox Stopped demo1 virtualbox Stopped demo2 virtualbox Stopped demo3 virtualbox Stopped infra virtualbox Stopped $docker-machine ssh host1 .
Read more