3 ms·
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
by dancek 10y ago
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...
- 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.