4 ms·
Lovely stuff. The industry would be so much better off if the family of BSDs had more attention and use. I run some EVE Online services for friends. They have
by movedx 10mo ago
Lovely stuff. The industry would be so much better off if the family of BSDs had more attention and use.
I run some EVE Online services for friends. They have manual install steps for those of use not using containers. Took me half a day to get the stack going on FBSD and that was mostly me making typos and mistakes. So pleased I was able to dodge the “docker compose up” trap.
- BrouteMinou 10mo agoCan you explain why "Docker compose" is a trap?
- hakfoo 10mo agoFor my two cents, it discourages standardization. If you run bare-metal, and instructions to build a project say "you need to install libfoo-dev, libbar-dev, libbaz-dev", you're still sourcing it from your known supply chain, with its known lifecycles and processes. If there's a CVE in libbaz, you'll likely get the patch and news from the same mailing lists you got your kernel and Apache updates from. Conversely, if you pull in a ready-made Docker container, it might be running an entire Alpine or Ubuntu distribution atop your preferred Debian or FreeBSD. Any process you had to keep those packages up to date and monitor vulnerabilities now has to be extended to cover additional distributions.
- esseph 10mo agoSomething like harbor easily integrates to serve as both a pull-through cache, and a cve scanner. You can actually limit allowing pulls with X type or CVSS rating. You /should/ be scanning your containers just like you /should/ be scanning the rest of your platform surface.
- clan 10mo agoYou said it better at first: Standardization. Posix is the standard. Docker is a tool on top of that layer. Absolutely nothing wrong with it! But you need to document towards the lower layers. What libraries are used and how they're interconnected. Posix gives you that common ground. I will never ask for people not to supply Docker files. But to be it feels the same if a project just released an apt package and nothing else. The manual steps need to be documented. Not for regular users but for those porting to other systems. I do not like black boxes.
- skydhash 10mo agoWhy I move from docker for selfhosted stuff was the lack of documentation and very complicated dockerfiles with various shell scripts services config. Sometimes it feels like reading autoconf generated files. I much prefer to learn whatever packaging method of the OS and build the thing myself.
- recursivetree 10mo agoAs one of the guys who develops a EVE Online service: While you were able to get by with manual install steps that perhaps change with the OS, for a decent number of people it is the first time they do anything on the CLI on a unixoid system. Docker reduces the support workload in our help channels drastically because it is easier to get going.
- clan 10mo agoI can sympathize. It makes sense. But... As a veteran admin I am tired of reading trough Docker files to guess how to do a native setup. You can never suss out the intent from those files - only do haphazardous guesses. It smells too much like "the code is the documentation". I am fine that the manual install steps are hidden deep in the dungeons away from the casual users. But please do not replace Posix compliance with Docker compliance. Look at Immich for an unfortunate example. Theys have some nice high level architecture documentation. But the "whys" of the Dockerfile is nowhere to be found. Makes it harder to contribute as it caters to the Docker crowd only and leaves a lot of guesswork for the Posix crowd.
- arthurfirst 10mo agoVeteran sysadmin of 30 years... UNIX sysadmin and developer... I use docker+compose for my dev projects for about the past 12 years. Very tough to beat the speed of development with multi-tier applications. To me Dockerfiles seem like the perfect amount of DSL but still flexible because you can literally run any command as a RUN line and produce anything you want for layer. Dockerfiles seem to get it right. Maybe the 'anything' seems like a mis-feature but if you use it well it's a game changer. Dockerfiles are also an excellent way to distribute FOSS to people who unlike you or I cannot really manage a systems, install software, etc without eventually making a mess or getting lost (i.e. jr developers?). Are their supply chain risks? sure -- Like many package systems. I build my important images from scratch all the time just to mitigate this. There's also Podman with Podfiles if you want something more FOSS friendly but less polished. All that said, I generally containerize production workloads but not with Docker. If a dev project is ready for primetime now I port it to Kubernetes. Used to be BSD Jails .
- windward 10mo agoYou've put that command in quotation marks in three comments on this topic. I don't think it's as prevalent as you're making out.
- fridder 10mo agoI wonder how it would work with the new-ish podman/oci container support?