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...
[ Parent
| on HN ]
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.