Replies: 4 comments 4 replies
-
Hi @dkerr64 ! The project is a collection of apps that can all run separately, either as LXC containers or standalone. The use of docker-compose was to help make the setup easy, but with some manual work you can assemble the whole thing on your host. If you do take on this adventure, can you please log all the steps needed so that it helps others following you? Some tips for manual setup:
|
Beta Was this translation helpful? Give feedback.
-
I run this dashboard using proxmox on a Zotac, with debian 11 as an LXC, and then docker running inside the LXC. With that being said, you could try these steps to convert it into an LXC. How to run a docker container image directly as an LXC in proxmox: Only works on proxmox 7 and up, it needs Debian bullseye (11.0 and up) Install skopeo, umoci, and jq packages:
Create an LXC rootfs from the docker image:
Turn the rootfs into a template that can be used from proxmox UI and the pct create command:
Use the UI to start the template, or you could automate it like this:
I haven't tested this method with a docker compose project, so it may require some fiddling.. I would recommend just creating an LXC container with Debian with docker inside of it. |
Beta Was this translation helpful? Give feedback.
-
@wreiske thanks for the pointer. I had not come across this ability to "convert" a docker container into an LXC container. When I was thinking about this I was not thinking of taking the five separate applications wrapped in docker and running them in five separate LXC containers. Rather I was thinking of creating a single LXC container and running all the components in that one container. There are of course pros-and-cons to this. The other approach I was thinking of is to run Docker inside an LXC container. This apparently works (I got the Hello World docker container to run) and would mean that there continues to be some isolation between each of the components plus also isolation from the underlying host. But not at the expense of running a whole operating system in a VM. David. |
Beta Was this translation helpful? Give feedback.
-
So, the way I decided to do this was to simply create a LXC container on proxmox... making sure that the I don't know why proxmox discourage using docker inside LXC, it certainly is working fine for me with this app. It is running pretty lean too, I generously allocated 4GB of memory to the LXC but it looks like I can reduce that to 1GB and still have plenty to spare. Is there a recommended minimum configuration for Powerwall-Dashboard? |
Beta Was this translation helpful? Give feedback.
-
Is it an absolute requirement that Powerwall-dashboard must run with Docker? I ask because I want to run this on a Proxmox server and it supports LXC-based containers, but not Docker. The only recommended way to run Docker on Proxmox is to first install a VM and then run Docker inside of that. But this seams kind of wasteful.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions