Skip to content

robinelfrink/docker-qemu-guest-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QEMU Guest Agent Docker container

QEMU Guest Agent in a Docker container. To be used in container-optimized operating systems, such as Talos.

Run using docker

docker run --rm --privileged --detach \
    --name qemu-guest-agent \
    --volume /dev/virtio-ports/org.qemu.guest_agent.0:/dev/virtio-ports/org.qemu.guest_agent.0 \
    ghcr.io/robinelfrink/qemu-guest-agent:latest

Run using docker-compose

Create the file docker-compose.yml:

version: '3'
services:
  qemu-guest-agent:
    container_name: qemu-guest-agent
    image: ghcr.io/robinelfrink/qemu-guest-agent:latest
    restart: unless-stopped
    privileged: true
    volumes:
      - /dev/virtio-ports/org.qemu.guest_agent.0:/dev/virtio-ports/org.qemu.guest_agent.0

Run:

docker-compose up --detach qemu-guest-agent

Kubernetes DaemonSet

kubectl apply --filename \
    https://raw.githubusercontent.com/robinelfrink/docker-qemu-guest-agent/main/manifests/daemonset.yaml

Kubernetes Helm chart

See charts/qemu-guest-agent/README.md how to install qemu-guest-agent using Helm.