BACKGROUND
For years, I've had two 32gb mem VMware ESXis in the house to run lab VMs. I recently converted not only one of them to PM, but completely converted myself to PM. It's far superior to VMware. Wish I had discovered PM sooner. And one of the big, big, BIG selling features of PM is the LXC orchestration. I'm not a container snob -- containers are basically containers from a 10' meter view, and LXC on PM suits me just fine for lightweight servers (MariaDB, Redis, etc.)
I very reluctantly had to keep one of the serves as VMware ESXis instead of converting them both due to a security appliance that does underlying platform testing to make sure it's running on ESXi or HyperV. (WHY!!!???/WARUM!!!???) There's no getting around it.
So I decided to see if I could mostly duplicate the simplicity of LXC on VMWare using a VM dedicated to containers. I decided to stick with LXC/LXD for "consistency" and it's amazing how far I've come and how I've almost got this working extremely well. The problem is when it comes time to launch a container, I don't have the granularity and control over the container settings -- memory, disk space most especially, CPUs -- as what PM affords and orchestrates. I've got to become a freaking expert in all these
Which defeats the entire purpose.
WHAT I'M LOOKING FOR
My thought is... perhaps under the covers somewhere, when launching a container, PM gathers all the settings entered in the Web GUI and cuts an LXC container settings/config or template file underneath the covers that has all the
But with PM pct, not sure it's really doing that (described above).
it's ridiculous how much it takes to manage a smallish container system just for development lab purposes (which is essentially my personal production universe).
Without orchestration, maybe it's time to abandon LXC/LXD in a VM and look elsewhere like Docker, rkt, etc. I just need something simple. I am very, very close to having what I want. It's container settings at container launch that has become surprisingly and ridiculously daunting.
For years, I've had two 32gb mem VMware ESXis in the house to run lab VMs. I recently converted not only one of them to PM, but completely converted myself to PM. It's far superior to VMware. Wish I had discovered PM sooner. And one of the big, big, BIG selling features of PM is the LXC orchestration. I'm not a container snob -- containers are basically containers from a 10' meter view, and LXC on PM suits me just fine for lightweight servers (MariaDB, Redis, etc.)
I very reluctantly had to keep one of the serves as VMware ESXis instead of converting them both due to a security appliance that does underlying platform testing to make sure it's running on ESXi or HyperV. (WHY!!!???/WARUM!!!???) There's no getting around it.
So I decided to see if I could mostly duplicate the simplicity of LXC on VMWare using a VM dedicated to containers. I decided to stick with LXC/LXD for "consistency" and it's amazing how far I've come and how I've almost got this working extremely well. The problem is when it comes time to launch a container, I don't have the granularity and control over the container settings -- memory, disk space most especially, CPUs -- as what PM affords and orchestrates. I've got to become a freaking expert in all these
lxc.whatever
settings, and I have to tweak these each time I want to launch a container.Which defeats the entire purpose.
WHAT I'M LOOKING FOR
My thought is... perhaps under the covers somewhere, when launching a container, PM gathers all the settings entered in the Web GUI and cuts an LXC container settings/config or template file underneath the covers that has all the
lxc.whatever
settings set, and then does an lxc-create -f
or lxc-create -t
to create/launch the container. If I could grab whatever PM generates for a config or template file, I could use those as templates to generate a few of my own configs/templates on the raw LXC/LXD VM I've created for the finite LXC settings I want and I'd be done.But with PM pct, not sure it's really doing that (described above).
it's ridiculous how much it takes to manage a smallish container system just for development lab purposes (which is essentially my personal production universe).
Without orchestration, maybe it's time to abandon LXC/LXD in a VM and look elsewhere like Docker, rkt, etc. I just need something simple. I am very, very close to having what I want. It's container settings at container launch that has become surprisingly and ridiculously daunting.