3 ms·
It's not just the packages. The whole system is as simple and straight forward as it can be. It didn't need many tweaks, and I know everything it's doing. Openb
by mikem170 6y ago
It's not just the packages. The whole system is as simple and straight forward as it can be. It didn't need many tweaks, and I know everything it's doing. Openbsd just makes me happy :-)
I've stuck with pre-compiled packages, and that's as easy as can be. I've only needed the pkg_info, pkg_add, and pkg_delete commands. There's a syspatch command to pull down OS security updates and upgrade to new releases. After new releases the fw_update command updates any firmware packages, and pkg-add -ui updates all packages. The faq pages have more info on this, and a lot of other system setup stuff [0].
(Extra info: Packages are pre-compiled binaries from the openbsd ports collection [1]. This ports collection can be installed and used to build stuff from source, and more closely track updates. Each app has a sub-dir under the ports directory with a makefile to download source code and compile/install everything to the right place, handle dependencies, etc. Packages are so easy, and I've never needed to get involved with ports. I've used ports on freebsd and can appreciate the value of them, if someone were to need them.)
I don't have much first hand experience with openbsd containers. The system makes use of chroot [2] for daemons like httpd, running executables as a separate user restricted to a specified userland root directory, and I've played with this. There's also vmm [3], which can run openbsd and linux virtual machines. Apparently vmm allows for docker to run on openbsd [4].
[0] https://www.openbsd.org/faq/index.html https://www.openbsd.org/faq/index.html
[1] https://openports.se/ https://openports.se/
[2] https://man.openbsd.org/chroot https://man.openbsd.org/chroot
[3] https://www.openbsd.org/faq/faq16.html https://www.openbsd.org/faq/faq16.html
[4] https://medium.com/@dave_voutila/docker-on-openbsd-6-1-current-c620513b8110 https://medium.com/@dave_voutila/docker-on-openbsd-6-1-curre...