3 ms·
> Containerization in the form of Jails Can you share "jail images" in a similar way you would share a docker image?
by rs_rs_rs_rs_rs 2y ago
> Containerization in the form of Jails
Can you share "jail images" in a similar way you would share a docker image?
- mcflubbins 2y agoNot really though I think there are some half-baked projects that aimed to do that. You can get somewhat close by doing a `zfs send` to a file. You still need the jail configuration though (I suppose you could put that _into_ the filesystem.) There's no "jailhub" that I'm aware of but could be completely wrong. IIRC there is some risk of importing a zfs dataset that you didn't create as the data stream is sent straight through the kernel.
- BSDobelix 2y agoYes you can, "iocage export/import" or "iocage fetch" with export you have a single compressed file (the zfs filesystem) and a manifest file...that's it. However you can also use podman (aka docker) or other "Container-tools": https://wiki.freebsd.org/Containers https://wiki.freebsd.org/Containers
- mcflubbins 2y agoiocage has been archived: https://github.com/iocage/iocage https://github.com/iocage/iocage
- BSDobelix 2y agoIt gets internally developed: https://github.com/freebsd/iocage https://github.com/freebsd/iocage As part of the FreeBSD-Project itself, since the original developer (FreeNAS?) abandon it.
- mcflubbins 2y agoAh good to know, I wish that information would have been easier to find.
- crest 2y agoIt can be done. I do it every few days, so the mechanisms to do that exist, but there is no agreed upon exchange format to form a community around to reuse work packaging application deployments.
- mcflubbins 2y ago> there is no agreed upon exchange format to form a community around to reuse work packaging application deployments. Wasn't the OCI Image Format an attempt at this? Obviously it hasn't become THE format but I thought there was effort towards it a while back.