This docker container provides a running libvirt daemon that can be linked to from clients that require libvirtd.
This container has been derrived from the great work done by the Project Atomic crew. I highly recommend reading the linked post.
docker build -t libvirtd
# use alectolytic/libvirtd if pulling from dockerhub
# use '--net host --expose 16509' if client is not linked
docker run \
--privileged \
--detach=true \
--name libvirtd \
libvirtd
This command will start a detached instance of the container with the name libvirtd.
docker stop libvirtd
The following volumes can be mounted from the host.
| Volume | Description |
|---|---|
| /sys/fs/cgroup | Control Group Resource Management |
| /var/lib/libvirt | Host libvirt directory. |
| /var/lib/libvirt/images | Default storage pool. |
| Port | Description |
|---|---|
| 16509 | TCP port for client connections if not linked. |
Content type
Image
Digest
sha256:17f6858f7…
Size
316.3 MB
Last updated
almost 11 years ago
docker pull alectolytic/libvirtd