5 ms·
That's a bit like saying that Docker is one more thing on top of LXC that you have to learn. jails : iocage :: lxc : docker ansible : iocage :: packer : docke
by inferiorhuman 9y ago
That's a bit like saying that Docker is one more thing on top of LXC that you have to learn.
jails : iocage :: lxc : docker
ansible : iocage :: packer : docker
The workflow and terminology is somewhat different but that doesn't make it inherently more difficult to adopt. The "slick" DSL that Dockerfiles provide become quite limiting in short order especially as each line bloats the eventual Docker image quite significantly. Case in point, you can't set file ownership when you copy files into the image so that extra step adds that much more bloat.
- oblio 9y agoYou only learn about docker... Regarding your later edit about bloat, well, it seems most people don't really care about that.
- inferiorhuman 9y agoYou only learn about iocage… (although even with Docker you should have at least a little knowledge of how things work under the hood for when things invariably break).
- oblio 9y agoI was curious about iocage, is it this thing? https://github.com/iocage/iocage https://github.com/iocage/iocage It's FreeBSD only, why are we even having this discussion? :)
- inferiorhuman 9y agoTake a look at the post I originally replied to. It was commenting on docker versus the alternatives.
- imtringued 9y ago> Case in point, you can't set file ownership when you copy files into the image so that extra step adds that much more bloat. I think you could solve that problem easily with multi-stage Dockerfiles. FROM alpine:latest COPY . /app RUN chown/chmod FROM alpine:latest COPY --from=0 /app /app
- inferiorhuman 9y agoThat looks suspiciously like an additional layer beyond the copy step to me (either that or a terrifically non-intuitive syntax).