Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid flag argument in current master #59

Closed
aybabtme opened this issue Jan 12, 2016 · 7 comments
Closed

invalid flag argument in current master #59

aybabtme opened this issue Jan 12, 2016 · 7 comments

Comments

@aybabtme
Copy link

I've been trying for a while to get this working, but it fails to find the -F flag (introduced in an unmerged PR against xhyve):

$ docker-machine -D create -d xhyve xhyve-dev
...
(xhyve-dev) DBG | operation not supported by device
(xhyve-dev) DBG | xhyve: illegal option -- F
(xhyve-dev) DBG | Usage: xhyve [-behuwxMACHPWY] [-c vcpus] [-g <gdb port>] [-l <lpc>]
(xhyve-dev) DBG |              [-m mem] [-p vcpu:hostcpu] [-s <pci>] [-U uuid] -f <fw>
...

The full output: debug.txt

@zchee
Copy link
Member

zchee commented Jan 12, 2016

@aybabtme Thanks create a issue :)

How did you install the docker-machine-driver-xhyve?

@aybabtme
Copy link
Author

like described in the README :)

$ go get -u -v -f github.com/zchee/docker-machine-driver-xhyve
$ sudo chown root:wheel $GOPATH/bin/docker-machine-driver-xhyve
$ sudo chmod u+s $GOPATH/bin/docker-machine-driver-xhyve

@zchee
Copy link
Member

zchee commented Jan 12, 2016

@aybabtme OK :)

Second question, Do you have xhyve binary?

e.g.

which -a xhyve

@zchee
Copy link
Member

zchee commented Jan 12, 2016

@aybabtme Sorry, Could you try

rm -f $(which docker-machine-driver-xhyve)
go get -u -d github.com/zchee/docker-machine-driver-xhyve
cd $GOPATH/src/github.com/zchee/docker-machine-driver-xhyve
make
make install

@zchee
Copy link
Member

zchee commented Jan 12, 2016

@aybabtme Oh, I understand.

Please

# Need Go 1.5 vendoring support
$ export GO15VENDOREXPERIMENT=1

$ go get -u -v -f github.com/zchee/docker-machine-driver-xhyve
$ sudo chown root:wheel $GOPATH/bin/docker-machine-driver-xhyve
$ sudo chmod u+s $GOPATH/bin/docker-machine-driver-xhyve

@aybabtme
Copy link
Author

export GO15VENDOREXPERIMENT=1 that was it! thanks @zchee

@zchee
Copy link
Member

zchee commented Jan 13, 2016

@aybabtme 🎉

Close issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants