docker-java
docker-java copied to clipboard
Creating machine with 5GB fails intermitently
During the Class on 12/13 with Arun we created 5GB machines on the mac with the command: docker-machine create -d virtualbox --virtualbox-disk-size "5000" --swarm --swarm-master --swarm-discovery="consul://$(docker-machine ip consul-machine):8500" --engine-opt="cluster-store=consul://$(docker-machine ip consul-machine):8500" --engine-opt="cluster-advertise=eth1:2376" swarm-master
In the class for most people this worked, but for about 4 of us the command did not work properly we only end up with a 1GB machine (Default size).
couple of notes:
- when we ran docker-machine inspect --format='{{json .Driver}}' swarm-master *It reported ..,"DiskSize":5000,.. but the machine was only 1GB when we logged into it.
- to fix the issue we simply deleted the machine and re-created with the same command