? sudo dnf install -y gcc libvirt libvirt-devel libxml2-devel make ruby-devel
? vagrant plugin install vagrant-libvirt
? export CONFIGURE_ARGS="with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib64"
? vagrant version
Installed Version: 2.2.9
And when I run it:
? vagrant init gusztavvargadr/docker-windows
? vagrant up --provider=libvirt
I get the following error
? vagrant up --provider=libvirt
Bringing machine 'default' up with 'libvirt' provider...
==> default: Box 'gusztavvargadr/docker-windows' could not be found. Attempting to find and install...
default: Box Provider: libvirt
default: Box Version: >= 0
==> default: Loading metadata for box 'gusztavvargadr/docker-windows'
default: URL: https://vagrantcloud.com/gusztavvargadr/docker-windows
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.
If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
released.
Name: gusztavvargadr/docker-windows
Address: https://vagrantcloud.com/gusztavvargadr/docker-windows
Requested provider: [:libvirt]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…