Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-06-09 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Christian, On 09.06.14 12:41 frodox wrote: Did you succeed with it? Especially with running host GUI apps inside a container... I can do nothing with gt; Error: cannot open display: :0 and so on.. Unfortunately, I had to stop the

Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-05-14 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Fajar, On 12.05.2014 00:27 Fajar A. Nugraha wrote: This example should help you get started. It assumes: Thanks for the nice example, I will give it a try. Just one thing, you overlayed the hosts / with another directory

Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-05-14 Thread Fajar A. Nugraha
On Wed, May 14, 2014 at 1:59 PM, Johannes Kastl m...@ojkastl.de wrote: Just one thing, you overlayed the hosts / with another directory (/opt/container/data), On further consideration, it might be better to set it as /var/lib/lxc/host/rootfs as the overlay mountpoint (to make it consistent

Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-05-11 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10.05.2014 20:30 Tamas Papp wrote: I cannot give you a useful answer to your question, but you might be interested in docker. Thanks for the tip, I already am playing around with docker on another machine. I just thought I'd try em both and

Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-05-11 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Fajar, On 11.05.2014 07:10 Fajar A. Nugraha wrote: On Sun, May 11, 2014 at 1:18 AM, Johannes Kastl m...@ojkastl.de wrote: https://www.stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/ is a good example Sorry, but that one talks about

Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-05-11 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11.05.2014 00:54 Serge Hallyn wrote: I'm not sure why you're not finding it, but you can just Now I'm not sure what lxc version you're on, but you should be safe if you just copy /usr/sbin/init.lxc to /sbin/lxc-init and

Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-05-11 Thread Fajar A. Nugraha
On Mon, May 12, 2014 at 12:38 AM, Johannes Kastl m...@ojkastl.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Fajar, On 11.05.2014 07:10 Fajar A. Nugraha wrote: On Sun, May 11, 2014 at 1:18 AM, Johannes Kastl m...@ojkastl.de wrote:

Re: [lxc-users] Howto/Tutorial wanted: Running an application inside a container

2014-05-10 Thread Serge Hallyn
Quoting Johannes Kastl (m...@ojkastl.de): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, I thought running a single application inside a container was one of the main advantages of lxc over 'full'virtualization like KVM. But it seems I fail to find a nice tutorial how to do