23 lines
528 B
YAML
23 lines
528 B
YAML
|
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/images"
|
||
|
volumes:
|
||
|
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
|
||
|
- libvirt-images:/var/lib/libvirt/images
|
||
|
- /:/host:Z
|
||
|
volumes:
|
||
|
libvirt-images:
|