How to get Virt-Manager running in a container

I've tried several different container versions but cannot get Virt-Manager to run in a container. It'll open but as soon as I go to add anything I get errors related to the daemon not running. Normally this is easy to fix on a bare metal. Ideas, maybe I'm just too tired, I set this down and came back to it with no luck. Example error: Sudo Systemctl enable libvirtd.service - this runs fine Sudo Systemctl start libvirtd.service - this returns "System has not been booted with systemd as initially system (PID 1). Can't operate. Failed to connect to bus: host is down" Now I realize this is due to the way the container itself works I just don't know how to fix it. Ideas?
6 Replies
Asterisk
Asterisk3y ago
Virtualization hypervisors must be installed to the host
phazer11
phazer11OP3y ago
Ok. How?
Asterisk
Asterisk3y ago
sudo system install qemu-desktop virt-manager virt-viewer libvirt
Valkyrja
Valkyrja3y ago
@ム丂イ乇尺ノ丂ズ, you've gained the level 4
Asterisk
Asterisk3y ago
then sudo systemctl enable --now libvirtd all on the host then reboot then open virt-manager
phazer11
phazer11OP3y ago
Will try that and let you know. Looks like it works. I'll close when I get a minute. I need to run. Thanks for the help.

Did you find this page helpful?