4 ms·
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.
by jbverschoor 10y ago
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.
- dancek 10y agoDoes 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...
- gautamdivgi 10y agoI 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).
- contingencies 10y agoman lxc.conf ... this is your dockerfile equivalent.
- sergiosgc 10y agoLXC 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.