For my group’s capstone project, we’ve installed the Centos 7 operating system on our servers and switches. So far we’ve managed to install LXC and create some containers, and configure networking settings for them, but are trying to figure out what to do next in order to install services (such as SMTP, SQL, Web Server, etc.) within the containers.
I’ve been researching for an hour and a half, but the only tutorials I can find cover setting up services on the Centos operating system itself, and configuring LXC containers.
What I’m trying to find out is whether there is anything I need to do differently in order to install services within an LXC container. Is there any difference, or can I simply just start and go into a container (switch from “[root@server~]#” to “[root@container_name~]#”), and start configuring with commands?
As a side note, we have been unable to log into our containers, as explained in this post:
Our current workaround for getting into the containers is the command:
[root@container_name ~]# lxc-attach -n container_name
Will that be an issue for configuring services in the LXC containers?