Docker container with a web UI to manage virtual machines?

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.

12 points · 21 comments · view on lemmy.world

21 Comments

Vinny_93@lemmy.world · 6 pts · 178d (3 replies)

I use Portainer.

flork@lemy.lol · 1 pts · 178d (2 replies)

you can restart VMs from portainer?

candyman337@piefed.ca · -4 pts · 178d (1 reply)

Yes, It's what's called a hypervisor, it is an operating system designed to manage vms, it can do a lot

Edit: I'm thinking of proxmox oops

Portainer is for docker containers

thenextguy@lemmy.world · 7 pts · 178d

Since when is portainer a hypervisor? It’s a container manager, isn’t it?

GentleWay@lemmy.world · 4 pts · 178d (2 replies)

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

flork@lemy.lol · 1 pts · 177d

OK now we're talking! Thanks.

irmadlad@lemmy.world · 1 pts · 178d

Forgot all about OliveTin.

surewhynotlem@lemmy.world · 4 pts · 178d (1 reply)

If you can never remember the command, and that's the real issue, just put the command in a script and run the script. Name the script. Something easy like, home assistant restart.

flork@lemy.lol · 1 pts · 177d

Not looking for a workaround but thanks

Also launching a script from cell phone is kind of the same issue

frongt@lemmy.zip · 3 pts · 178d

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.

kylian0087@lemmy.dbzer0.com · 2 pts · 178d (1 reply)

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 · 1 pts · 178d

Debain and VirtualBox

irmadlad@lemmy.world · 2 pts · 178d (2 replies)

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 · 2 pts · 178d (1 reply)

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

irmadlad@lemmy.world · 1 pts · 178d

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

gaylord_fartmaster@lemmy.world · 1 pts · 178d (1 reply)

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

flork@lemy.lol · 1 pts · 178d

Debian and VirtualBox

phanto@lemmy.ca · 1 pts · 178d (3 replies)

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 · 1 pts · 178d (2 replies)

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 · 1 pts · 178d

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.

SnachBarr@lemmy.zip · 1 pts · 178d

Set an alias in shell for the complicated command, then just ssh and type the alias that is easier to remember.