[Lxc-users] Running several applications on same container, connecting do DBs etc.

Serge E. Hallyn serge.hallyn at canonical.com
Sat Jul 10 15:08:53 UTC 2010


Quoting John Drescher (drescherjm at gmail.com):
> > 1. Can I run several application on same container? (how can it be done)
> 
> Yes. Same way you do it on the host machine.
> 
> > 2. My applications stores information into Data Base, so is that possible
> > with LXC, and what issues will it have with data consistency (in other words
> > what is the nature of a LXC container)
> 
> I have never had any consistency problems with lxc.
> 
> > 3. The last one is more of a problem than a question:when I run a container
> > with GUI ,it crushes and says that has some issues with GUI or smth.
> > (lxc-start -n name /bin/bash works fine).So what could be the problem?
> >
> 
> Not sure. I never run a GUI under a container.

Probably can't talk to your X socket bc you're in a different netns?  I
suggest running GUIs under vncserver in the container.

-serge




More information about the lxc-users mailing list