Hi Fajar, > > half-and-half, I guess. But I asked for LXC not LXD... > > I don't use lxc anymore (only lxd now), but you might be able to use > https://github.com/lxc/lxc/blob/stable-3.0/config/templates/nesting.conf.in
yes I had it already, but did not work with unprivileged LXC. > > However, if I start the container half unprivileged (starting > > as root but using uid/gid mapping) it seems to work. So probably > > that is the way to go here... > > > > Not ideally, but more secure then pure docker on the hardware... > > Were you able to start the container? AFAIK you shouldn't be able to. > It's good if you can. Oh, it works somehow... My idea was a little bit more complicate: I have some NVIDIA- Cards in the server. I can bind-mount the devices in the LXC and get a list of GPUs via nvidia-smi in the LXC. But this seems not wo work with docker :-/ There is an nivida-docker available, but that throws strange error messages. Best regards Dirk -- +----------------------------------------------------------------------+ | Dr. Dirk Geschke / Plankensteinweg 61 / 85435 Erding | | Telefon: 08122-559448 / Mobil: 0176-96906350 / Fax: 08122-9818106 | | d...@geschke-online.de / d...@lug-erding.de / kont...@lug-erding.de | +----------------------------------------------------------------------+ _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users