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

Cannot address machine named "xhyve" #125

Closed kojiromike closed 7 years ago

kojiromike commented 8 years ago

I created a machine named xhyve. docker create xhyve ran fine with the below environment:

$ env | grep -iF xhyve
MACHINE_DRIVER=xhyve
XHYVE_MEMORY_SIZE=4096

But when I try to run further docker-machine commands, I can't access it.

$ docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL                        SWARM   DOCKER    ERRORS
default   -        virtualbox   Stopped                                      Unknown
foo       -        xhyve        Stopped                                      Unknown
xyhve     -        xhyve        Running   tcp://192.168.64.21:2376           v1.11.1
$ docker-machine inspect xhyve | head -n 3
Host does not exist: "xhyve"
$ docker-machine inspect foo | head -n 3
{
    "ConfigVersion": 3,
    "Driver": {
nkobber commented 8 years ago

@kojiromike You misspelled the machine name. You created the machine with name "xyhve" instead of "xhyve"