Git Product home page Git Product logo

docker-virt-manager's People

Contributors

antipatico avatar dqbd avatar m-bers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-virt-manager's Issues

empty screen via https reverse proxy - websocket problem

as soon as a reverse proxy HAPROXY or nginx for example come into play, a wss:// connection will tried to be opened by the proxy, which fails (websocket not working)

Browser errors out with "cannot open connection to wss://www.example.com/socket

400 Bad websocket request

unable connect to remote server

I want connect to a remote server that have multiple kvm up.
but when it start it stuck on "connecting" without any error!

image

what should i do?

also i'm able to connect to that server with virt-manager but it's not available on docker-virt-manager.

docker-compose:

services: 
  virt-manager:
    image: mber5/virt-manager:latest
    restart: always
    ports:
      - 8185:80
      - 7681:7681

    environment:
      HOSTS: "['qemu+ssh://[email protected]/system']"

    volumes:
      - /home/ubuntu/.ssh/id_rsa:/root/.ssh/id_rsa:ro

Auto restart virt-manager if accidentally closed

First of all, thank you for this project. I have been searching for such a lean solution for a long time.

The idea is as the title says. Though one can restart virt-manager through the browser-terminal, it would be more convenient to have it auto restart. Maybe this can be implemented with little effort.

Permission denied during VM installation

I am trying to install a VM, but I am always ending up in a permission denied error for the .iso image, which I just before chose from the file browser.

Unfortunately I also can't copy the error message to the clipboard, but I took some screenshots. I guess (and hope) the error speaks for itself.

Screenshot from 2023-03-28 11-27-14
Screenshot from 2023-03-28 11-27-29

Keyboard Layout

Hi,

when I connect to the graphical interface of a VM, the keyboard layout is wrong. Is it possible to change that?
In Virtmanager it is correct.

Greets

Error connecting to graphical console

Thanks for the container! The idea is brilliant!

I have an issue, though. Container starts and I can make the connection (to qemu:///session). I can see my VMs and can start and stop them. However, when I try to open any VM I get Error connecting to graphical console: Failed to recv file descriptor: Permission denied.

Screen Shot 2021-12-05 at 19 03 26

I'm running Ubuntu 20.04 on the host. I can successfully connect to all my VMs via a remote virtual-manager connection from another Ubuntu machine โ€” so my QEMU/KVM config should be fine I guess.

What could I be missing here? Pleas point me to the right direction! Thanks in advance!

Here's my docker-compose:

  virt-manager:
    container_name: virt-manager
    image: docker.io/mber5/virt-manager
    restart: unless-stopped
    environment:
      - DARK_MODE=false
      - HOSTS="['qemu:///session']"
    ports:
      - 8185:80
    volumes:
      - /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock
      - /var/lib/libvirt/images:/var/lib/libvirt/images
    devices:
      - /dev/kvm:/dev/kvm

Device Panel opens for a second then closes and disconnects - Permission denied

Firstly, thanks for the container and your work here. This is a great tool, and very beneficial to all. ๐Ÿ‘

I start the docker-compose with my normal user which is mapped to the docker group, so it has access to start the container. The container starts and I can access it via the web. I see the 3 VMs I have running on the host (the same host the container is running on). It shows the CPU graphs and they are moving, so all appears fine.

When I double click on a VM, the VM screen opens, but it shows:

Error connecting to graphical console. 
Failed to recv file descriptor: Permission denied.

It then disconnects from the host completely and I have to double click on the QEMU/KVM line to reconnect.

I can create a new VM fine. It starts and works fine too. Starting, Stopping and Deleting images works just as well, so it would appear permissions to the libvirt are working. Just when I open a VM panel, it has an issue, and kicks me out.

Running on Ubuntu.
I have privileged: "true".

Any thoughts?

Unable to use custom ssh port

Hi there,

I'm trying to connect to my server that didn't have SSH open on 22 port.

On the UI I've set manually :
qemu+ssh:///[email protected]:15052

But on the env var, When I set the var it didn't work.

-e HOSTS=['qemu+ssh:///[email protected]:15052/system']

The logs show me the following :
image

Thanks for the help.

Unable to connect

Unfortunately I am unable to connect, I get following error message:

Unable to connect to libvirt qemu://root@<192.168.1.48/system.
Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
Verify that the 'libvirtd' deamon is running on the remote host.

Running systemctl status libvirtd shows that it is active.
Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.