News for hackers. Stuff that matters.
Re:WTF is a container? by jbverschoor on Monday October 17, 2016 @03:14AM (#12723185)
Same here with docker. The ideas are nice as an application, but it's just a pain in the ass. LXC on the other hand is a breeze.
Re:WTF is a container? by sergiosgc on Monday October 17, 2016 @05:50AM (#12723722)
LXC is nice, as a building block, but it is far from "a breeze".

It is refreshing, however, being able to write, in a couple of hours, a setup script from scratch that debootstraps an install, chroots in there to configure it and launches the container via systemd-nspawn. Very few moving parts, excellent for development environments. Not yet something I trust in production, though.

Re:WTF is a container? by dancek on Monday October 17, 2016 @03:51AM (#12723313)
Does LXC provide a way to automatically create new working instances (like a Dockerfile / docker-compose.yml)? I'm not quite grokking LXC in my first 10 minutes of reading...
Re:WTF is a container? by gautamdivgi on Monday October 17, 2016 @07:57AM (#12724243)
I think you could create your own lxc template and then create new instances. The other way would be to just clone existing working instances with overlayfs.

Base lxc may be a bit of a pain. Look at lxd - I believe that makes things much much simpler.

Another thing about lxc is the unpriviledged container - which I think is great for security (not sure if docker provides this).

Re:WTF is a container? by contingencies on Monday October 17, 2016 @10:50AM (#12725463)
man lxc.conf ... this is your dockerfile equivalent.