======> Creating 3 manager machines ...
======> Creating manager1 machine ...
Running pre-create checks...
Creating machine...
(manager1) Copying /Users/arungupta/.docker/machine/cache/boot2docker.iso to /Users/arungupta/.docker/machine/machines/manager1/boot2docker.iso...
(manager1) Creating VirtualBox VM...
(manager1) Creating SSH key...
(manager1) Starting the VM...
(manager1) Check network to re-create if needed...
(manager1) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env manager1
======> Creating manager2 machine ...
Running pre-create checks...
Creating machine...
(manager2) Copying /Users/arungupta/.docker/machine/cache/boot2docker.iso to /Users/arungupta/.docker/machine/machines/manager2/boot2docker.iso...
(manager2) Creating VirtualBox VM...
(manager2) Creating SSH key...
(manager2) Starting the VM...
(manager2) Check network to re-create if needed...
(manager2) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env manager2
======> Creating manager3 machine ...
Running pre-create checks...
Creating machine...
(manager3) Copying /Users/arungupta/.docker/machine/cache/boot2docker.iso to /Users/arungupta/.docker/machine/machines/manager3/boot2docker.iso...
(manager3) Creating VirtualBox VM...
(manager3) Creating SSH key...
(manager3) Starting the VM...
(manager3) Check network to re-create if needed...
(manager3) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env manager3
======> Creating 3 worker machines ...
======> Creating worker1 machine ...
Running pre-create checks...
Creating machine...
(worker1) Copying /Users/arungupta/.docker/machine/cache/boot2docker.iso to /Users/arungupta/.docker/machine/machines/worker1/boot2docker.iso...
(worker1) Creating VirtualBox VM...
(worker1) Creating SSH key...
(worker1) Starting the VM...
(worker1) Check network to re-create if needed...
(worker1) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env worker1
======> Creating worker2 machine ...
Running pre-create checks...
Creating machine...
(worker2) Copying /Users/arungupta/.docker/machine/cache/boot2docker.iso to /Users/arungupta/.docker/machine/machines/worker2/boot2docker.iso...
(worker2) Creating VirtualBox VM...
(worker2) Creating SSH key...
(worker2) Starting the VM...
(worker2) Check network to re-create if needed...
(worker2) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env worker2
======> Creating worker3 machine ...
Running pre-create checks...
Creating machine...
(worker3) Copying /Users/arungupta/.docker/machine/cache/boot2docker.iso to /Users/arungupta/.docker/machine/machines/worker3/boot2docker.iso...
(worker3) Creating VirtualBox VM...
(worker3) Creating SSH key...
(worker3) Starting the VM...
(worker3) Check network to re-create if needed...
(worker3) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env worker3
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
manager1 - virtualbox Running tcp://192.168.99.100:2376 v1.12.0
manager2 - virtualbox Running tcp://192.168.99.101:2376 v1.12.0
manager3 - virtualbox Running tcp://192.168.99.102:2376 v1.12.0
worker1 - virtualbox Running tcp://192.168.99.103:2376 v1.12.0
worker2 - virtualbox Running tcp://192.168.99.104:2376 v1.12.0
worker3 - virtualbox Running tcp://192.168.99.105:2376 v1.12.0
======> Initializing first swarm manager ...
Swarm initialized: current node (awaxcheomhagl7engrut9rha3) is now a manager.
To add a worker to this swarm, run the following command:
docker swarm join \
--token SWMTKN-1-5x04iqjfl58nu9ap7mmzh9oqp5qqcy7zggojy8n9pefmudnnhx-28pdn4x4btrz4tzfn6cqcw7md \
192.168.99.100:2377
To add a manager to this swarm, run the following command:
docker swarm join \
--token SWMTKN-1-5x04iqjfl58nu9ap7mmzh9oqp5qqcy7zggojy8n9pefmudnnhx-7iuzrysqktro6eky9r1nx8unq \
192.168.99.100:2377
manager_token: SWMTKN-1-5x04iqjfl58nu9ap7mmzh9oqp5qqcy7zggojy8n9pefmudnnhx-7iuzrysqktro6eky9r1nx8unq
worker_token: SWMTKN-1-5x04iqjfl58nu9ap7mmzh9oqp5qqcy7zggojy8n9pefmudnnhx-28pdn4x4btrz4tzfn6cqcw7md
======> manager2 joining swarm as manager ...
This node joined a swarm as a manager.
======> manager3 joining swarm as manager ...
This node joined a swarm as a manager.
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
2tcpb0nvk4jrrot75zyumf35f manager2 Ready Active Reachable
awaxcheomhagl7engrut9rha3 * manager1 Ready Active Leader
djq7vrb7rl4zlz3qbluhrj2by manager3 Ready Active Reachable
======> worker1 joining swarm as worker ...
This node joined a swarm as a worker.
======> worker2 joining swarm as worker ...
This node joined a swarm as a worker.
======> worker3 joining swarm as worker ...
This node joined a swarm as a worker.
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
2tcpb0nvk4jrrot75zyumf35f manager2 Ready Active Reachable
8vy743bwfmhtdo8tt3cnvl9ye worker3 Ready Active
awaxcheomhagl7engrut9rha3 * manager1 Ready Active Leader
djq7vrb7rl4zlz3qbluhrj2by manager3 Ready Active Reachable
e57cfmfydncrh5sej6eh8old8 worker2 Ready Active
evmnq65tt9f3fthryccmz1a9e worker1 Ready Active