libvirt/Dockerfile.libvirt

10 lines
342 B
Docker
Raw Normal View History

2023-12-26 13:22:47 +00:00
FROM almalinux:8
MAINTAINER tea@brass.host
RUN dnf groupinstall --setopt install_weak_deps=0 --nodocs --assumeyes --allowerasing "Virtualization Host" && dnf clean all
RUN rm -v /etc/systemd/system/*.wants/*
RUN systemctl enable libvirtd
VOLUME [ "/etc/libvirt"]
VOLUME [ "/var/lib/libvirt/"]
VOLUME [ "/var/run/libvirt/"]
CMD ["/sbin/init"]