I’m trying to build a LXC server, based on CSS. I can install LXC without problems and even create a container, but I have one question and one problem:
Question: is there a Calculate template to use as a LXC container?
Problem: I’ve created a Gentoo container, but when I try to start a service like mysql or apache, I get the following error:
Yes, there are no Calculate templates, shame. But I managed to get the servers working, albeit somewhat different: Calculate as base with Gentoo LXC. There are two major things to watch out for:
the manual on the Gentoo wiki doesn’t mention installing and running the cg-manager; without this you can create and start containers, but with certain actions you will get a warning that certain directories are write-protected.
you have to edit the Gentoo default config, because it will want to open/share certain host directories to the containers; this doesn’t work properly. Comment them out and it works …