4 ms·
There is a port of docker that works with jails+ZFS (and the linux.ko syscall translator to run linux images) https://wiki.freebsd.org/Docker https://wiki.freeb
by floatboth 10y ago
There is a port of docker that works with jails+ZFS (and the linux.ko syscall translator to run linux images) https://wiki.freebsd.org/Docker https://wiki.freebsd.org/Docker
There's also jetpack for the app container spec (rkt) https://github.com/3ofcoins/jetpack https://github.com/3ofcoins/jetpack
I'm also experimenting with building a simpler system.
- avsm 10y agoIt should be possible to build a simpler port for FreeBSD with the recent Docker 1.11 release. It moved the container execution to containerd (https://github.com/docker/containerd https://github.com/docker/containerd), so that's where a bunch of the Jails logic would go. I'm quite keen to see Docker running on FreeBSD so I can use it for my CI pipelines. I'm less interested in Linux emulation to run Linux images -- I'd like Docker support on FreeBSD to run FreeBSD images first!
- voltagex_ 10y agoWhat advantages would Docker give you over jails themselves?
- evgen 10y agoCan't speak for anyone else, but while I think jails are "better" for a variety of reasons it seems clear there is far more market momentum behind Docker. More particularly, its toolchain. Given the choice between building myself (or relying upon a small, but talented, pool of devs) and drafting off tens of millions in VC cash and a much larger community I think some would prefer the ability to have a *BSD CI chain that is just a config setting in a Docker setup.
- avsm 10y agoContainerd is just one part of what Docker does. There is also image management (signing via Notary), distribution (pull/push to the Hub), orchestration (Swarm and friends), linked services (Compose), etc. You could reuse all the rest of it while running containers in FreeBSD jails as the method of containment.