Poppejans•

How do they run the containers themselves? I wasn't aware of oci container runtimes written in Rust? Same question with the CRI.

33
redshiftOP•

The containers are run on containerd. The kernel, libc, init, and container components are using standard non-Rust software you can see here: https://github.com/bottlerocket-os/bottlerocket#packaging

The new components like the update system and API are part of what makes Bottlerocket interesting, and they're all written in Rust. https://github.com/bottlerocket-os/bottlerocket#updates-1

If you want to check out some source: https://github.com/bottlerocket-os/bottlerocket/tree/develop/sources

Also, the build system uses cargo-make and Cargo crates to orchestrate package builds, even for non-Rust software. cargo-deny is used to check licenses, too.

44
gh0stwriter88•

Seems like it would make sense to use relibc...

9
wezmAllsorts•

Or musl

0
gh0stwriter88•

There is rusl...lol

1
slashclee•

I wasn't aware of oci container runtimes written in Rust?

There's railcar, but it's archived and I'm not sure if anybody has forked it.

5
mbStavola•

Based on the name and it being another AWS initiative, I wonder if there will be any crossover with FirecrackerVM.

31
Ka1kin•

Like an AWS serverless computing project using bottlerocket containers in a firecracker VM? I’m pretty sure that’s Lambda.

23
tobin_baker•

I don't think so, the whole point of Firecracker was to achieve container-comparable performance with the security of a VM. Since each Lambda task is launched in a separate VM, I don't see the point of running a container(s) inside.

2
tejoka•
17
tidux•

Possibly. I see that Bottlerocket is being targeted at EKS, and Fargate EKS runs on Firecracker now.

2
gudmundv•

Was not expecting: "Bottlerocket is now available in public preview at no cost as an Amazon Machine Image (AMI) for Amazon Elastic Cloud Compute (EC2)."
https://aws.amazon.com/bottlerocket/

26
elatllat•

Of course bottlerocket is free; it is open source, you still have to pay for EC2.

7
Mgladiethor•

not a fan of the other rust os license

1
bikki420•

Missed opportunity to name it the magnitudes better "Rustbucket".

-5
shirshak55•

its not missed tho :D bottle rocket sounds way better than rustbucket :P so its matter of opinion :)

6
bikki420•

Bottlerocket sounds stupid af for an OS.

-5
shirshak55•

Good opinion but I disagree :)

3