News for hackers. Stuff that matters.
Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by ajross on Saturday August 06, 2022 @02:15PM (#32370334)
> It runs circles around the docker in everything except how much it was adapted by community.

...except?

Meh. People who want to engage in this argument are generally trying to argue about jails vs. the collection of linux container technologies. That's not Docker. Docker won because of Dockerfiles. Docker isn't, at its core, an interesting container technology. Docker is a simple metaphor and programming environment to leverage container technology to solve practical[1] problems.

And as it happened, it was done on Linux and not jails, owing in large part to the more configurable/toolkit-style/policy-free tools available there. Jails were indeed more mature, but they were solving the wrong problem.

[1] Also thorny, boring problems like configuration management of large apps developed piecewise from components and by large teams. The kind of thing that is historically not well served by the operating system, BSD included.

Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by intothemild on Saturday August 06, 2022 @02:19PM (#32370359)
I love FreeBSD and i love Jails, but you're right. Docker won because of simplicity.

Dockerfiles make it super simple. There is similar stuff for jails but you need a jails frontend that use it.

A few years ago i wanted to build the Jailfile equivalent, call it Warden, and have Warden manage the jails.

But honestly i doubt it would get traction outside a small community.

Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by GekkePrutser on Saturday August 06, 2022 @04:14PM (#32371192)
> Dockerfiles make it super simple. There is similar stuff for jails but you need a jails frontend that use it.

But docker is just a frontend for linux containers :) You're not comparing the right things here: Linux containers with a popular frontend and all the trimmings, to barebones FreeBSD jails.

Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by intothemild on Sunday August 07, 2022 @07:09AM (#32375562)
Very true. I did mention that there are similar things with jail frontends, specifically iocage.
Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by SoftTalker on Saturday August 06, 2022 @03:57PM (#32371049)
"Simple" is subjective.

Have you ever looked at what Docker puts in your iptables? I challenge you to understand what's happening with your networking after that.

If you want containers, lxc command line and a bit of configuration for a bridge interface is all you really need.

Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by ajross on Saturday August 06, 2022 @04:10PM (#32371158)
> If you want containers, [...] is all you really need.

And that is the attitude embraced by jails (to be clear: rather more cleanly and attractively than the expression of the same ideas in linux), and precisely why it lost.

No one wants "containers". They want docker. They want to be handed something that looks no more threatening than a mid-80's build script and have it magically be it's own little world with all its own software and versions and stuff, but still talk to the rest of the world on the same networks from the same piece of hardware (yes, via some weird voodoo to glue all that together).

It's like arguing that no one needs word processing because nroff or LaTeX is all you need. It's not wrong. It's just a failure in the market.

Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by SoftTalker on Saturday August 06, 2022 @04:19PM (#32371232)
The voodoo is what bothers me. As the person responsible for the server, when things go wrong I will get blamed. In that situation, I at least want it to be my fault.
Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by Gordonjcp on Sunday August 07, 2022 @04:15AM (#32374819)
What "voodoo"?
Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by isbvhodnvemrwvn on Sunday August 07, 2022 @07:25AM (#32375635)
Stock docker puts entries in your iptables which usually fully bypasses your firewall. try installing docker on stock Ubuntu, run a container with an exposed port, put ifw up blocking all traffic, and the container is still going to be reachable.
Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by Gordonjcp on Sunday August 07, 2022 @02:07PM (#32378369)
That's not voodoo, that's perfectly reasonable behaviour.

Why are you wasting time with ipfw?

Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by Gordonjcp on Sunday August 07, 2022 @04:14AM (#32374816)
> Have you ever looked at what Docker puts in your iptables?

Some forwarding rules.

> I challenge you to understand what's happening with your networking after that.

They're incredibly simple forwarding rules, to make sure that only the containers that you specify can connect to the Internet, and all the others in a particular group can only connect to each other.

> If you want containers, lxc command line and a bit of configuration for a bridge interface is all you really need.

Yes, assuming you never need to maintain it, or run more than one project per server.

Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by throwaway7980 on Saturday August 06, 2022 @03:16PM (#32370773)
CBSDfiles, reggae and bastillebsd can all build jails from a file based method
Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by Sunspark on Saturday August 06, 2022 @02:48PM (#32370562)
Build it and they will come..
Re:Technical reasons to choose FreeBSD over GNU/Linux (2020) by truth_seeker on Saturday August 06, 2022 @02:50PM (#32370575)
More detailed comparison of Docker Vs Jails :

https://www.diva-portal.org/smash/get/diva2:1453017/FULLTEXT...