docker-java icon indicating copy to clipboard operation
docker-java copied to clipboard

Creating machine with 5GB fails intermitently

Open jimzucker opened this issue 9 years ago • 0 comments

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:

  1. 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.
  2. to fix the issue we simply deleted the machine and re-created with the same command

jimzucker avatar Dec 15 '15 18:12 jimzucker