v0.2.0
v0.2.0 (2016-01-09)
Installation
- At the first, Download the latest
docker-machine
binary file.
See https://github.com/docker/machine/releases. - Download the
docker-machine-driver-xhyve
binary file, And move the binary to your$PATH
directory. - Change binary owner and uid to
root:wheel
. Currently needroot
permission.
but, DO NOT NEEDsudo
. That's wrongsudo docker-machine create -d xhyve ...
e.g.,
$ curl -L https://github.com/zchee/docker-machine-driver-xhyve/releases/download/v0.2.0/docker-machine-driver-xhyve_1.5.2 > /usr/local/bin/docker-machine-driver-xhyve
$ chmod +x /usr/local/bin/docker-machine-driver-xhyve
$ sudo chown root:wheel /usr/local/bin/docker-machine-driver-xhyve
$ sudo chmod u+s /usr/local/bin/docker-machine-driver-xhyve
Features
Re-embeded xhyve
Embeded xhyve C
source again. Not need original xhyve binary also hooklift/xhyve.
Without all dependency. It works in docker-machine-driver-xhyve
one binary.
Use Go bindings for xhyve hooklift/xhyve.
And xhyve upsteam repository is xhyve-xyz/xhyve for now.
Thanks @johanneswuerbach and xhyve-xyz/xhyve, hooklift/xhyve developers.
Sparse (dynamic allocates) volume supoprt
Use OS X sparsebundle to store VM data.
This speeds up volume generation and allocates disk space only on demand.
Thanks @johanneswuerbach
Use a syscall signal to the control of VM
xhyve-xyz was unofficial support .pid
file.
Now possible to get the state and stop by sending a signal to the process.
It is better than to send exit 0
use ssh
.
Support more than 3GB memory size
mist64/xhyve official supported more than 3GB memory size.
See machyve/xhyve@793d17c .
Misc
- Rename
--xhyve-memory
flag to--xhyve-memory-size
. Thanks @jgeiger - Generate
UUID
to use cgo<uuid.h>
instead ofuuidgen
binary. - NFS shared folder the more safely use the johanneswuerbach/nfsexports package. Thanks @johanneswuerbach
Auto generated Change Log
Fixed bugs:
- Can not open boot2docker.iso use hdiutil #43
Merged pull requests:
- Re-Bump version to 0.2.0 #52 (zchee)
- Fix binary owner to travis:staff and Add multiple Go version release #51 (zchee)
- Back to version 0.1.0 #50 (zchee)
- Add skip_cleanup #48 (zchee)
- Bump version to 0.2.0 #47 (zchee)
- Update vedor for hooklift/xhyve and change upstream to xhyve-xyz/xhyve #46 (zchee)
- Sparse volume #44 (johanneswuerbach)
- Fix Stop() and Kill() to syscall (SIGTERM|SIGKILL) #42 (zchee)
- Fix GetState to syscall.Signal use pid #41 (zchee)
- Patched Add -F flag to write manage a pidfile #39 (zchee)
- Use xhyve to get the mac address #38 (johanneswuerbach)
- Actually support CPU -1 for all available CPUs #36 (johanneswuerbach)
- Auto-create missing exports file, line break fixes #35 (johanneswuerbach)
- Fix travis-ci settings #34 (zchee)
- Enhanced NFS shares #33 (johanneswuerbach)
- Fixes xhyve stdout and stderr printing #32 (johanneswuerbach)
- Improved boot2docker version detection #31 (johanneswuerbach)
- Fixed xhyve-memory-size #30 (johanneswuerbach)
- Use travis with OS X 10.11.1 #28 (johanneswuerbach)
- Embeds xhyve #27 (johanneswuerbach)
- Use --xhyve-memory-size to match other docker-machine drivers #26 (jgeiger)
- Update README for memory command #25 (jgeiger)
- Bump v0.1.0 #23 (zchee)