[lxc-users] bind mounting a directory, not the whole /home/user

2017-12-31 Thread Ricardo Filipe Soares Garcia da
Hi all I'm trying to set up a workflow for software development using lxd. For this I'd like to mount my ~/dev directory inside lxd containers. Looking around I've found [1] and [2] and have adapted the described procedure to my case, which seems to differ only in the fact that I don't want to mou

Re: [lxc-users] Share base OS with multiple containers like FreeBSD jails

2017-12-31 Thread Renato dos Santos
Hi Saraswat, I believe this is characteristic of drawing lxc/lxd... Maybe you can use chroot for this mode... > On 31 Dec 2017, at 17:07, Rajil Saraswat wrote: > > Hello, > > I have been used FreeBSD jails for some time and love the fact that the > same base image is shared with multiple jails

Re: [lxc-users] debian template: cannot install openjdk-8-jre due to missing /proc

2017-12-31 Thread Renato dos Santos
Hi Dunkel, Do you have installed lxcfs? I had a problem in the past, and I solved installing lxcfs… ps: I had the lxd too.. > On 15 Dec 2017, at 05:25, Harald Dunkel wrote: > > Hi folks, > > if I try to add openjdk-8-jre on the lxc-create command line, > then it woes about missing /proc file

[lxc-users] debian template: cannot install openjdk-8-jre due to missing /proc

2017-12-31 Thread Harald Dunkel
Hi folks, if I try to add openjdk-8-jre on the lxc-create command line, then it woes about missing /proc file system: # lxc-create -t debian -n sample01 -- -r stretch --packages=openjdk-8-jre : : Setting up ca-certificates-java (20170531+nmu1) ... the keytool command requires a mounted proc fs (

Re: [lxc-users] LXD Official PPA deprecation

2017-12-31 Thread Jeffrey Lane
On Thu, Dec 28, 2017 at 03:32 laurent ducos wrote: > Hello > I have two questions. > > * The exact date of end of ppa is not specified. What is the expected > day? > * Actualy my version of lxd is 2.16..I will update it on January 5th. If > the support of the ppa is finished I would only have

Re: [lxc-users] need to get devices to work in lxc

2017-12-31 Thread David Pinson
I think that this applies to lxd, but I have lxc only. On Wed, 2017-12-13 at 00:16 +, Pavol Cupka wrote: > Take a look at > https://stgraber.org/2017/03/21/cuda-in-lxd/ > maybe there is something you can use for dvb? > > > > On Tue, Dec 12, 2017 at 11:07 PM David Pinson > wrote: > > I have

Re: [lxc-users] Debian and unprivileged LXC not working...

2017-12-31 Thread Christian Brauner
On Tue, Dec 12, 2017 at 11:00:01PM -0600, Serge Hallyn wrote: > On Tue, Dec 05, 2017 at 05:20:32PM +0100, Dirk Geschke wrote: > > Hi Serge, > > > > > > I am a little bit clueless, I have several systems running with > > > > Debian and unprivileged LXC. But newer systems won't start new > > > > con

[lxc-users] Share base OS with multiple containers like FreeBSD jails

2017-12-31 Thread Rajil Saraswat
Hello, I have been used FreeBSD jails for some time and love the fact that the same base image is shared with multiple jails. I was wondering if it is possible to do the same with lxc/lxd (running on Gentoo). At the moment lxd leads to lot of wasted space when using multiple containers since each

Re: [lxc-users] Debian and unprivileged LXC not working...

2017-12-31 Thread Dirk Geschke
Hi Serge, just forgot to mention: I'm using sysv-init on the host, not systemd... Best regards Dirk > > > If you build without cgmanager, and your system has the cgroups > > > individually mounted under /sys/fs/cgroup, then cgfsng will be > > > automatically used. > > I just tested it by compi

Re: [lxc-users] Debian and unprivileged LXC not working...

2017-12-31 Thread Dirk Geschke
Hi Serge, > > If you build without cgmanager, and your system has the cgroups > > individually mounted under /sys/fs/cgroup, then cgfsng will be > > automatically used. I just tested it by compiling and installing lxcfs. If I add to /etc/pam.d/common-session and /etc/pam.d/common-session-noninte