Skip to content

Containerfile for building a virt-manager image.

Notifications You must be signed in to change notification settings

Vanilla-OS/virt-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Virt Image

Containerfile for building a virt-manager image.

This image is based on top of vanillaos/pico and offers a virt installation.

Build

Requirements

  • Vib
  • Podman or Docker

Build the image

vib build recipe.yml
podman image build -t vanillaos/virt .

Run

Requirements

Usage

The container needs to be rootfull.

distrobox create --root --init --unshare-all -i ghcr.io/vanilla-os/virt:main -n virt # replace with your local image if you built it
distrobox enter --root virt

Then start virt-manager:

virt-manager

Troubleshooting

Unathorized when sharing a USB device

This should not happen, the image has a dedicated Polkit policy for this. If you encounter this issue, please open an issue.

Cannot connect to a remote libvirt daemon over SSH

Please, refer to this from the Distrobox documentation.

Default network unreachable

If the default network is unreachable, try to start it manually:

sudo virsh net-start default
virsh net-autostart default

if the above command fails due to missing network, try loading it from the XML:

sudo virsh net-define /usr/share/libvirt/networks/default.xml
sudo virsh net-start default
virsh net-autostart default

About

Containerfile for building a virt-manager image.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages