News for hackers. Stuff that matters.
Re:Flatcar Container Linux by theodric on Sunday April 09, 2023 @01:33PM (#35504744)
> Debian passes for Ubuntu

Ubuntu passes for Debian, you mean. Debian has been around much, much longer than Ubuntu and set the standards Ubuntu got for free and commercialized.

Re:Flatcar Container Linux by MathMonkeyMan on Sunday April 09, 2023 @01:37PM (#35504778)
True, but devs like me started with Ubuntu. Then years later we see a Debian docker image and wonder how different it will be. Mostly the same, for the reason you mentioned.
Re:Flatcar Container Linux by chubot on Sunday April 09, 2023 @01:48PM (#35504863)
Yes I know, but Ubuntu seems to be more popular as a desktop

What I mean is that people just hack on stuff on their desktop. They install Python NumPy or Rails or whatever. Like gigabytes of dependencies.

And then they want to deploy.

Is it easy to do that with Flatcar Container Linux? How do I do it?

Or is it easier to make a Docker file that does apt-get install X and pip install Y ?

You can do that with Ubuntu as a base image, and Debian usually "just works" if you're on Ubuntu. (I'm doing this with our Debian CI images)

Not saying you should always take the easier path, but I also think it's a good idea to minimize the differences between the dev environment and production

Re:Flatcar Container Linux by vxNsr on Sunday April 09, 2023 @02:05PM (#35505012)
My understanding is that flatcar is for running your docker containers, not necessarily for building them.
Re:Flatcar Container Linux by vidarh on Sunday April 09, 2023 @04:19PM (#35506093)
It's intended for a workflow where you build docker containers, and deploy docker containers, so the environment is identical. If all you deploy is containers, it makes sense for the host OS to be as small as possible, and as immutable as possible.