machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
888 stars 74 forks source link

B2D iso and directory created by root owner #82

Closed zchee closed 8 years ago

zchee commented 8 years ago

When does not exists $HOME/.docker directory, boot2docker.iso and $HOME/.docker/machine/cache will be create by root owner. In that case, Error will occur when extractKernelImages.

zchee commented 8 years ago

Download and copy of B2D iso, and cache folder creation are included in mcnutils.CopyIsoToMachineDir(). Permission error occurs in this func. Need re-implement.

zchee commented 8 years ago

Solved in https://github.com/zchee/docker-machine-driver-xhyve/commit/a592ed33ec441c7975e1fbff144f08e0f101f65e