mirror of https://github.com/docker/docs.git
Dont copy boot2docker iso cache on quickstart
This commit is contained in:
parent
313283bb2c
commit
ee3b032a1a
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
ISO=$HOME/.docker/machine/cache/boot2docker.iso
|
||||
VM=docker-vm
|
||||
DOCKER_MACHINE=/usr/local/bin/docker-machine
|
||||
|
||||
|
|
@ -13,12 +12,6 @@ unset LD_LIBRARY_PATH
|
|||
|
||||
clear
|
||||
|
||||
mkdir -p ~/.docker/machine/cache
|
||||
if [ ! -f $ISO ]; then
|
||||
cp /usr/local/share/boot2docker/boot2docker.iso $ISO
|
||||
fi
|
||||
|
||||
|
||||
machine=$($DOCKER_MACHINE ls -q | grep "^$VM$") || :
|
||||
if [ -z $machine ]; then
|
||||
echo "Creating Machine $VM..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue