redspread / localkube

DEPRECRATED - See https://github.com/kubernetes/minikube
Apache License 2.0
184 stars 11 forks source link

Check for boot2docker #53

Open ethernetdan opened 8 years ago

ethernetdan commented 8 years ago

Currently we are mounting /mnt/sda1/var/lib/docker on all machines in order to support boot2docker.

We should check if the Docker host OS is boot2docker and only then mount that path.

ethernetdan commented 8 years ago

This info is retrievable using docker info, the corresponding API call should be usable to perform this check.