Bottlerocket, a new Linux-based OS, uses Rust for almost all new components
github.com/bottlerocket-os/bottlerocketPosted Mar 10, 2020, 10:07 PM UTC
Posted Mar 10, 2020, 10:07 PM UTC
How do they run the containers themselves? I wasn't aware of oci container runtimes written in Rust? Same question with the CRI.
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.
Seems like it would make sense to use relibc...
Or musl
There is rusl...lol
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.
Based on the name and it being another AWS initiative, I wonder if there will be any crossover with FirecrackerVM.
Like an AWS serverless computing project using bottlerocket containers in a firecracker VM? I’m pretty sure that’s Lambda.
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.
On the roadmap apparently: https://github.com/bottlerocket-os/bottlerocket/issues/812
Possibly. I see that Bottlerocket is being targeted at EKS, and Fargate EKS runs on Firecracker now.
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/
Of course bottlerocket is free; it is open source, you still have to pay for EC2.
not a fan of the other rust os license
Missed opportunity to name it the magnitudes better "Rustbucket".
its not missed tho :D bottle rocket sounds way better than rustbucket :P so its matter of opinion :)
Bottlerocket sounds stupid af for an OS.
Good opinion but I disagree :)
Cool! This is an AWS project: https://aws.amazon.com/blogs/aws/bottlerocket-open-source-os-for-container-hosting/