version: "3.8" services: libvirtd: image: docker.registry:5000/libvirtd:latest container_name: "libvirtd" ipc: host network_mode: host pid: host user: root privileged: true ports: - "8080:8080" environment: LIBVIRTD_DEFAULT_NETWORK: "true" LIBVIRTD_DEFAULT_POOL_PATH: "/var/lib/libvirt/pool/default" # 1: DEBUG # 2: INFO # 3: WARNING # 4: ERROR LOG_LEVEL: 1 volumes: - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket - libvirt-pool:/var/lib/libvirt/pool - /:/host:Z volumes: libvirt-images: