Docker container with a web UI to manage virtual machines?
from flork@lemy.lol to selfhosted@lemmy.world on 25 Feb 18:45
https://lemy.lol/post/61683678

I run Home Assistant in a virtual machine on my home server. Sometimes I need to restart it and I’m not always in a position to SSH or VNC in and I can never remember the command so I have to look it up every time. Is there anything out there that would allow me to do this quickly?

EDIT: The VM is in virtualbox.

#selfhosted

threaded - newest

Vinny_93@lemmy.world on 25 Feb 18:47 next collapse

I use Portainer.

flork@lemy.lol on 25 Feb 21:16 collapse

you can restart VMs from portainer?

phanto@lemmy.ca on 25 Feb 18:57 next collapse

I Tailscale in to my home network, and then from one of the machines I’m the network, I can ssh in (or whatever.)

flork@lemy.lol on 25 Feb 21:16 collapse

That’s what I do now, just looking for something where I don’t have to lookup the command and type it in with my phone

phanto@lemmy.ca on 25 Feb 22:00 collapse

Ahh, I see. Someone else mentioned portainer, that has a lot of “click to do bleh” functions. Might be what the doctor ordered. You could also put the command in a bash script, like restart.sh and then it’ll show up with an ls.

gaylord_fartmaster@lemmy.world on 25 Feb 19:01 next collapse

What is your home server running and what kind of VM is it?

flork@lemy.lol on 25 Feb 21:16 collapse

Debian and VirtualBox

irmadlad@lemmy.world on 25 Feb 19:23 next collapse

Are you asking if you can restart containers remotely, say from your phone? If so there are several apps that can do that. I use Yomo for docker and Portainer.

flork@lemy.lol on 25 Feb 21:18 collapse

Not quite, I want to restart a VM using a container.

irmadlad@lemmy.world on 25 Feb 21:33 collapse

Hmmmm…I’m fresh out of ideas except maybe Ansible or Terraform automation but that’s outside my wheelhouse.

kylian0087@lemmy.dbzer0.com on 25 Feb 20:24 next collapse

We need some more info. What is the server? A dedicated hypervisor? Just a Linux box that Also runs a VM?. If so what software you use to run the VM and containers?

Like I use XCP-NG on one of my servers. It is a level 1 hypervisor which you can manage with a webui.

flork@lemy.lol on 25 Feb 21:17 collapse

Debain and VirtualBox

frongt@lemmy.zip on 25 Feb 20:58 next collapse

What platform has a browser but not an ssh client? I use juicessh on android. I’d bet even the Nintendo DS has a homebrew ssh client.

GentleWay@lemmy.world on 25 Feb 22:14 collapse

I have used OliveTin to do something similar: github.com/OliveTin/OliveTin