Sign inSign up

nitje/ugreen-virtual-machine-manager

By nitje

Updated about 1 year ago

Only run via ugreen-docker project! -> https://hub.docker.com/u/nitje

Image
0

10K+

nitje/ugreen-virtual-machine-manager repository overview

Virtual Machine Manager 5.0.0 and it is Optimize for uGreen NAS. Inspired by https://github.com/m-bers/docker-virt-manager

Only run via ugreen-docker project ! ! !

docker-compose.yaml

# Ma Ni - v0.4
#
# UGOS - Projekt - Bridge
#
# virtual-machine-manager:v5.0.0
#
services: 
  virtual-machine-manager:
    image: nitje/ugreen-virtual-machine-manager:latest
    container_name: virtual-machine-manager
    restart: always
    ports:
      - "18185:80"
    environment:
    # Set DARK_MODE to true to enable dark mode
      DARK_MODE: false
    # If connecting to remote libvirtd, you can use a qemu+ssh string like below. Default qemu:///system will connect to local libvirtd: 
    # HOSTS: "['qemu+ssh://user@host1/system', 'qemu+ssh://user@host2/system']"
      HOSTS: "['qemu:///system']"
    # If on an Ubuntu host (or any host with the libvirt AppArmor policy, you will need to use an ssh connection to localhost
    # or use qemu:///system and uncomment the below line to run the container in privileged mode: 
    # not needed in ugreen-docker-project
#    privileged: true
    volumes:
    # Volumes needed if connecting to local qemu:///system
      - "/var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock"
      - "/volume1/@appstore/com.ugreen.kvm/iso:/volume1/@appstore/com.ugreen.kvm/iso:ro"
      - "/volume1/@appstore/com.ugreen.kvm/disk:/volume1/@appstore/com.ugreen.kvm/disk:rw"
      - "/volume1/@kvm:/volume1/@kvm:rw"
      - "/mnt/@usb:/mnt/@usb:rw"
      - "/mnt/@remote:/mnt/@remote:rw"
      # If connecting to remote libvirtd, substitute location of ssh private key, e.g.:
      # - /home/user/.ssh/id_rsa:/root/.ssh/id_rsa:ro
    devices:
    # Not needed if connecting to remote libvirtd
      - "/dev/kvm:/dev/kvm"
      - "/dev/dri:/dev/dri"
      - "/dev/bus/usb:/dev/bus/usb"
    network_mode: bridge

Go to http://-YOUR-NAS-IP:18185 in your browser

Visit: https://interceptor.marconitschke.de/thread-111.html

Tag summary

Content type

Image

Digest

sha256:e2efd6710

Size

659.9 MB

Last updated

about 1 year ago

docker pull nitje/ugreen-virtual-machine-manager