Sign inSign up

mbentley/virt-manager

By mbentley

•Updated 1 day ago

Docker image for virt-manager

Image
2

10K+

mbentley/virt-manager repository overview

⁠mbentley/virt-manager

docker image for virt-manager based off of alpine:latest

To pull this image: docker pull mbentley/virt-manager

On macOS, you need to run XQuartz and use socat to make the X11 display available on the network:

socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"

Note: You can not allocate a tty (using -t in the docker run... command) or it will ask for credentials via the tty attached to the container instead of the GUI.

Running on macOS:

docker run --rm \
  -e DISPLAY=<ip-of-your-box>:0 \
  -v ~/.ssh/id_rsa:/root/.ssh/id_rsa:ro \
  mbentley/virt-manager

Running in X11:

Allow connections to the X session:

xhost +SI:localuser:$(whoami)
docker run --rm \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -e DISPLAY=unix$DISPLAY \
  -v ~/.ssh/id_rsa:/root/.ssh/id_rsa:ro \
  mbentley/virt-manager

If you would like to keep persistent connection information, add another volume:

-v /path/to/saved/config:/root/.config/dconf

Tag summary

Content type

Image

Digest

sha256:81c6c07f8…

Size

176.5 MB

Last updated

1 day ago

docker pull mbentley/virt-manager