3 ms·
Does LXC and LXD support the functional equivalent of Dockerfile or docker-compose.yml? I appreciate how Docker has become widely accepted for defining reproduc
by divbzero 4y ago
Does LXC and LXD support the functional equivalent of Dockerfile or docker-compose.yml? I appreciate how Docker has become widely accepted for defining reproducible environments but have always found it to be rather heavy on resources.
- discardedrefuse 4y agoNot really. But LXD containers are built by layering commands. I use a bash script with the commands to create reproducible containers. That said, LXD is good for containerizing OS's, not single applications. So when you say "defining reproducible environments" you can get reproducible containers, but not so much environments. In that sense, it behaves more like a VM.
- tinus_hn 4y agoAnd, newly, a licensing hassle.
- winstonschmidt 4y agoYou can use cloudinit with lxd to do something quite similar to a Dockerfile. I don't know anything like compose besides just bash scripts.