Store the toolbox on the disk instead of rootfs
There was a lack of "disk" space, when using memory. This also makes the toolbox persistent over reboots.pull/3951/head
parent
95082b32bc
commit
71b3e3ec5d
|
@ -163,6 +163,10 @@ if [ -n "$BOOT2DOCKER_DATA" ]; then
|
|||
mkdir /var/lib/minikube
|
||||
mount --bind /mnt/$PARTNAME/var/lib/minikube /var/lib/minikube
|
||||
|
||||
mkdir -p /mnt/$PARTNAME/var/lib/toolbox
|
||||
mkdir /var/lib/toolbox
|
||||
mount --bind /mnt/$PARTNAME/var/lib/toolbox /var/lib/toolbox
|
||||
|
||||
mkdir -p /mnt/$PARTNAME/var/lib/minishift
|
||||
mkdir /var/lib/minishift
|
||||
mount --bind /mnt/$PARTNAME/var/lib/minishift /var/lib/minishift
|
||||
|
|
|
@ -89,6 +89,7 @@ func testPersistence(t *testing.T) {
|
|||
"/var/lib/cni",
|
||||
"/var/lib/kubelet",
|
||||
"/var/lib/minikube",
|
||||
"/var/lib/toolbox",
|
||||
"/var/lib/rkt",
|
||||
"/var/lib/boot2docker",
|
||||
} {
|
||||
|
|
Loading…
Reference in New Issue