RetroFed Forum
Your home away from modern life.
Docker container with a web UI to manage virtual machines?
Post Reply
AuthorMessage
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
(edited) Quote

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   Original
Vinny_93 lemmy.world Vinny_93@lemmy.world
Joined: 2023-06-12
#2 · Quote Reply

I use Portainer.

5
phanto lemmy.ca phanto@lemmy.ca
Joined: 2023-07-03
#3 · Quote Reply

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

1
gaylord_fartmaster lemmy.world gaylord_fartmaster@lemmy.world
Joined: 2023-07-13
#4 · Quote Reply

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

1
irmadlad lemmy.world irmadlad@lemmy.world
Joined: 2025-03-24
#5 · Quote Reply

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.

2
kylian0087 lemmy.dbzer0.com kylian0087@lemmy.dbzer0.com
Joined: 2023-09-03
#6 · (edited) Quote 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.

2
frongt lemmy.zip frongt@lemmy.zip
Joined: 2025-07-31
#7 · Quote Reply

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.

3
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
#8 · Quote Reply

I use Portainer.

you can restart VMs from portainer?

1
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
#9 · Quote Reply

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

Debian and VirtualBox

1
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
#10 · Quote Reply

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

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

1
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
#11 · Quote 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.

Debain and VirtualBox

1
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
#12 · Quote Reply

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.

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

2
irmadlad lemmy.world irmadlad@lemmy.world
Joined: 2025-03-24
#13 · Quote Reply

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

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

1
phanto lemmy.ca phanto@lemmy.ca
Joined: 2023-07-03
#14 · Quote Reply

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

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.

1
GentleWay lemmy.world GentleWay@lemmy.world
Joined: 2023-06-19
#15 · Quote Reply

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

4
SnachBarr lemmy.zip SnachBarr@lemmy.zip
Joined: 2025-06-05
#16 · Quote Reply

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

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

1
irmadlad lemmy.world irmadlad@lemmy.world
Joined: 2025-03-24
#17 · Quote Reply

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

Forgot all about OliveTin.

1
candyman337 piefed.ca candyman337@piefed.ca
Joined: 2026-02-20
#18 · (edited) Quote Reply

you can restart VMs from portainer?

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

-6
thenextguy lemmy.world thenextguy@lemmy.world
Joined: 2023-09-28
#19 · Quote 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

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

8
surewhynotlem lemmy.world surewhynotlem@lemmy.world
Joined: 2023-06-13
#20 · Quote 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.

4
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
#21 · (edited) Quote 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.

Not looking for a workaround but thanks

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

1
Jediwan lemy.lol flork@lemy.lol
Joined: 2024-02-12
#22 · Quote Reply

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

OK now we're talking! Thanks.

1
Post Reply
Back to top