Creating Linux Containers using Bastille on FreeBSD 13 reddit / BSD ---------------------------------------------------------------------- sn0oz3 · 2023-02-21 16:58 Attention: English version available! Use the link at the beginning of the post or scroll down.In this tutorial I'm going to show you how to create Linux containers using Bastille on FreeBSD. The Linux support of Bastille includes Ubuntu bionic and focal plus Debian stretch and buster. This is an experimental feature. Hope you enjoy! ---------------------------------------------------------------------- xkabauter · 2023-02-21 18:39 This is very interesting. Does this provide a way to use docker in a Debian container I'm FreeBSD? ---------------------------------------------------------------------- sn0oz3 · 2023-02-21 18:53 I'm not sure, since it is based on the linux compatibility layer I could imagine that it won't work 100%. But maybe you should give it a try... Its experimental using Bastille with Linux Containers, so I would recommend using the compat layer at first: https://byte-sized.de/linux-unix/linux-binary-compatibility-ubuntu- unter-freebsd/ Here are some more information: https://wiki.freebsd.org/Docker ---------------------------------------------------------------------- CodeCompost · 2023-02-22 08:38 I read this and your last post on Bastille. Very helpful, thanks. Just thinking out loud, it shouldn't be that hard to replicate Docker functionality using this. Images can be pulled from a git repo, loaded into a container and executed. It seems that all the ingredients are there. ---------------------------------------------------------------------- sn0oz3 · 2023-02-22 08:58 Thank you. When I got more time I will try this out and let you know. ---------------------------------------------------------------------- CodeCompost · 2023-02-22 09:32 It doesn't necessarily have to be Linux Docker images. It should be quite possible to create FreeBSD images based on, for example, `13.1-RELEASE`. Those images contain the necessary pkgs that are needed for the use case. The port mappings can be injected before the container starts, basically replicating the `-p 8080:80` feature like Docker does. And then on top of that you can activate the Linux compatibility layer and then add Linux apps. They would still be FreeBSD images but with Linux apps installed on top. If you really want to go crazy you can even go so far as to fully support Linux Docker images, but that would take significant effort. ---------------------------------------------------------------------- Wrong-Pop-6247 · 2023-02-25 08:59 1) Run Docker over a Virtual Machine 2) Use Virtualbox as hypervisor 3) Install docker-machine (including scripts bash-completion) 4) Up and running you can use bhyve or focker.. ---------------------------------------------------------------------- Wrong-Pop-6247 · 2023-02-25 09:00 and of course bastille its for me the best native option.. ---------------------------------------------------------------------- sn0oz3 · 2023-02-25 09:01 Word! ---------------------------------------------------------------------- Wrong-Pop-6247 · 2023-02-25 09:03 very good job fam.. I'll save it to try again later.. thanks for your contribution boss! ---------------------------------------------------------------------- sn0oz3 · 2023-02-25 09:08 Hope you enjoy :) thanks!