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

Machine Creation: Network not found #24

Open
peacememories opened this issue Sep 22, 2016 · 1 comment
Open

Machine Creation: Network not found #24

peacememories opened this issue Sep 22, 2016 · 1 comment

Comments

@peacememories
Copy link

Hello and thanks for working on this driver 😄

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

  • libvirt 1.3.3.2
  • qemu-kvm 2.6.1
  • docker-machine 0.8.1, build 41b3b25
  • docker-machine-driver-kvm 0.7.0
@dhiltgen
Copy link
Owner

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! :-)

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