I use Portainer.
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
Since when is portainer a hypervisor? It’s a container manager, isn’t it?
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
I have used OliveTin to do something similar: https://github.com/OliveTin/OliveTin
OK now we're talking! Thanks.
Forgot all about OliveTin.
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
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.
Hmmmm...I'm fresh out of ideas except maybe Ansible or Terraform automation but that's outside my wheelhouse.
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.
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
Set an alias in shell for the complicated command, then just ssh and type the alias that is easier to remember.
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.
What is your home server running and what kind of VM is it?
Debian and VirtualBox
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam.
-
Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.
-
Don't duplicate the full text of your blog or git here. Just post the link for folks to click.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require your active participation in selfhosting or related communities, or the post will be removed. No more than 10% of your posts or comments may be self-promotional, or your post will be removed. F/LOSS Exception: If your post is about a project that is completely open source & can be self-hosted in full without payment, and your account is at least 30 days old, your post is exempt from this rule as long as you continue to engage in comments.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!