Skip to end of metadata
Go to start of metadata

Command

Description

docker-machine versionList docker-machine version
docker-machine lsList machines
docker-machine ipGet the IP address of the machine

docker-machine create -d virtualbox --virtualbox-memory "2000" --virtualbox-disk-size "5000" node1

Create a node

docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock --name ucp docker/ucp install -i --swarm-port 3376 --controller-port "8443" --host-address $(docker-machine ip node1)

install UCP
eval $(docker-machine env node1)Switch to using node 1

docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock --name ucp docker/ucp join -i --host-address $(docker-machine ip node2)

Add another node to UCP






 PresentationEdit file

  • No labels