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

Can not open boot2docker.iso use hdiutil #43

Closed zchee closed 8 years ago

zchee commented 8 years ago

Result:

(xhyve) Extracting vmlinuz64 and initrd.img from boot2docker.iso...
(xhyve) DBG | Mounting boot2docker.iso
(xhyve) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/zchee/.docker/machine/machines/xhyve/boot2docker.iso -mountpoint /Users/zchee/.docker/machine/machines/xhyve/b2d-image] []  <nil> %!s(*os.File=&{0xc820014390}) %!s(*os.File=&{0xc8200143c0}) [] %!s(*syscall.SysProcAttr=<nil>) %!s(*os.Process=<nil>) <nil> <nil> %!s(bool=false) [] [] [] [] %!s(chan error=<nil>)} attach /Users/zchee/.docker/machine/machines/xhyve/boot2docker.iso -mountpoint /Users/zchee/.docker/machine/machines/xhyve/b2d-image
open : no such file or directory
notifying bugsnag: [Error in driver during machine creation: unexpected EOF]
Error creating machine: Error in driver during machine creation: unexpected EOF
zchee commented 8 years ago

Solved: https://github.com/zchee/docker-machine-driver-xhyve/commit/74cebc244e28670abe3465eb7803d9db53f2ad94