dhiltgen / docker-machine-kvm

KVM driver for docker-machine
Apache License 2.0
376 stars 117 forks source link

Machine Creation: Network not found #24

Open peacememories opened 7 years ago

peacememories commented 7 years ago

Hello and thanks for working on this driver :smile:

When trying to create a machine with docker-machine create -d kvm default the kvm driver prints the following error message:

$ docker-machine create -d kvm default
Running pre-create checks...
Error with pre-create check: "[Code-43] [Domain-19] Network not found: no network with matching name 'default'"

It seems the driver doesn't (maybe cannot) create a network for the virtual machine, but still expects it.

I am running Fedora 24 with

dhiltgen commented 7 years ago

Dup of #12

At present, the driver doesn't attempt to create the default network - it assumes it's already present. If you create a VM with another tool like virt-manager first it will create it (or you can create it from the command line.)

Not sure when I'll get around to implementing it, so if you're up to it, PRs are welcome! :-)