Live data from Hacker News

Bottlerocket: An operating system designed for hosting containers

github.com

81–90 of 121 posts

Re: Bottlerocket: An operating system designed for hosting containers

#81

Remove SSH? Over my dead body! What is container specific about all this? It just seems to be minimal images?

If you need to SSH into your cattle you’re either not in position to benefit from something like Bottlerocket or you’re doing things wrong.

Re: Bottlerocket: An operating system designed for hosting containers

#82
post #68

A link to the actual source code (90% Rust) and README: https://github.com/bottlerocket-os/bottlerocket And here is a post from AWS with more technical details: https://aws.amazon.com/blogs/aws/bottlerocket-open-source-os...

Given that Red Hat recently killed CoreOS, it's great to see new alternatives coming up. I cannot wait to give it a spin!

Not even once ... https://docs.fedoraproject.org/en-US/fedora-coreos/

Re: Bottlerocket: An operating system designed for hosting containers

#83
post #34

Opening line from their announcement blog post: >It is safe to say that our industry has decided that containers are now the chosen way to package and scale applications. Curious how the HN community feels about that statement. Not so much about the truth of the statement but about the fact that containers are becoming the de facto method of packaging applications.

As far as I'm concerned, this is an obvious truth. Linux containers are processes with better sandboxing -- who would not want this? As kinks in the kernel support and tech get worked out, and OSs deepen support I can't imagine that it will ever make sense to say something like "I could have run the process with cgroup and namespace isolation but I chose not to, choosing to make a new user-level isolation or run ever…

"I could have run the process with cgroup and namespace isolation"... using systemd.

Re: Bottlerocket: An operating system designed for hosting containers

#84

Earlier quoted context omitted.

Desktop and mobile is actually where you want containers most. Servers rarely run untrusted or semi-trusted code because everything comes from a trusted source, usually open source, or in house. But users want to run lots of shady apps, either that they find on random websites or places like the Google Play store.

It's also the rare case where you can't accept a 5% performance hit because that's 5fps in a game or 5 seconds on a 100 second render time or 5ms instead of 95ms wait in an interactive app. I find that the key to running desktop OS/apps is never use sensitive data and always be ready to wipe your machine and start over.

Containers don't have a 5% performance hit.

Re: Bottlerocket: An operating system designed for hosting containers

#85
post #51

How does this compare to Linuxkit? At first glance it seems almost identical but I may be missing something. https://www.github.com/linuxkit/linuxkit

Linuxkit allows you to build your own appliance like OS, while Bottlerocket is more of an end user project. A project that is more similar to Bottlerocket is https://www.talos.dev or https://www.projectatomic.io

Re: Bottlerocket: An operating system designed for hosting containers

#86

Earlier quoted context omitted.

As far as I'm concerned, this is an obvious truth. Linux containers are processes with better sandboxing -- who would not want this? As kinks in the kernel support and tech get worked out, and OSs deepen support I can't imagine that it will ever make sense to say something like "I could have run the process with cgroup and namespace isolation but I chose not to, choosing to make a new user-level isolation or run ever…

"I could have run the process with cgroup and namespace isolation"... using systemd.

Or skip the million non-container related dependencies introduced by systemd and focus on a container centric init system...

Re: Bottlerocket: An operating system designed for hosting containers

#87
post #68

A link to the actual source code (90% Rust) and README: https://github.com/bottlerocket-os/bottlerocket And here is a post from AWS with more technical details: https://aws.amazon.com/blogs/aws/bottlerocket-open-source-os...

Given that Red Hat recently killed CoreOS, it's great to see new alternatives coming up. I cannot wait to give it a spin!

There is MicroOS from openSUSE: https://en.opensuse.org/Kubic:MicroOS

Re: Bottlerocket: An operating system designed for hosting containers

#88

Earlier quoted context omitted.

How does this compare to something like nix or Fedora Silverblue?

Nix has upside that you just need to flip a symlink to do the same . Downside is that you don't have thinks like dm-verity that can prove that your update wasn't tampered with. In nix the nix store is remounted over itself read-only, but nothing stops someone from ripping out the disk and flipping bits. This is not possible with these kind of 2-partition schemes if you have dm-verity set up

Isn't Nix a Merkle-Tree system of hashes? Doesn't that allow you to easily verify everything that you're running?

Re: Bottlerocket: An operating system designed for hosting containers

#90
post #6
post #4

The subject says "for hosting containers" but the README says "for AWS EKS Kubernetes" which sounds a little less general... How tied in to the AWS model is this? Are the places that would need to be expanded known? Also at least at a glance, this is a neat use of real-world Rust

While our first variant is focused on Kubernetes and EKS, we have designed Bottlerocket in a way that new variants can be built that work with other orchestrators, or even without one (we have ECS support on our roadmap already). Also, we really enjoyed working in Rust for big chunks of this!

>"While our first variant is focused on Kubernetes and EKS..."

So is the idea that people create a Bottlerocket AMI and use that as their EKS worker node images? Is that correct?

Post reply on HN