Here's an example how to execute Vagrant's Ansible provisioner locally in Docker (to avoid incompatibilities of libraries Win/Linux/Mac, to unify provisioning of local environments between all platforms)
-
Hypervisor, currently supported are only Virtualbox and Libvirt as Hyper-V has too many limitations when configuring multiple network interfaces
- Virtualbox
- QEMU/Libvirt
- Vagrant Libvirt plugin
- example installation on Fedora via Ansible: https://github.com/mikeeq/ansible-ops-workstation/tree/main/roles/apps/vagrant/tasks
- QEMU/Libvirt
- example installation on Fedora via Ansible: https://github.com/mikeeq/ansible-ops-workstation/blob/main/roles/apps/qemu/tasks/main.yml
- Vagrant Libvirt plugin
-
Docker
- On MacOS/Windows install Rancher Desktop (open-source, to avoid licensing issues when used for enterprise use cases) or Docker Desktop