26 lines
439 B
Docker
26 lines
439 B
Docker
FROM fedora
|
|
|
|
ENV container docker
|
|
|
|
ENV LIBVIRTD_DEFAULT_POOL_PATH ""
|
|
ENV LIBVIRTD_DEFAULT_NETWORK ""
|
|
ENV LIBVIRTD_TCP_PORT "16509"
|
|
|
|
RUN yum install -y \
|
|
libvirt-daemon-kvm \
|
|
libvirt-daemon-qemu \
|
|
libvirt-client \
|
|
selinux-policy selinux-policy-targeted \
|
|
wget \
|
|
augeas \
|
|
procps
|
|
|
|
ENV LOG_LEVEL 3
|
|
COPY augconf /augconf
|
|
COPY libvirtd.sh /libvirtd.sh
|
|
|
|
RUN augtool -f /augconf && \
|
|
chmod a+x /libvirtd.sh
|
|
|
|
CMD ["/libvirtd.sh"]
|