Atratainer. A container whose name is its contents.
An Atratainer packages your code and everything it depends on into one unit, and its address is the hash of exactly those contents. There is no base image and no operating system inside, so there are no OS CVEs to inherit.
How Atratainer works.
Package code and every dependency into one unit addressed by its hash. Runs bit-identically anywhere, with no base image.
- Addressed by its contents
- The address is the hash of the code and every dependency, so two identical packages are the same package, and a changed one is a different address.
- No base image
- Nothing from a distribution is copied in. The unit holds your graph and the runtime, and nothing else.
- Bit-identical everywhere
- The same unit gives the same result on a laptop, a server or a cloud instance, because the runtime is deterministic.
- Reproducible by construction
- Building the same source twice gives the same address. There is no build that only works on one machine.
What you can check yourself.
- The exact contents behind an address
- That a build reproduces from source
- That two environments run the same unit
$ atracode tainer build ./checkout graph checkout raven:7a1c…e903 deps 42 packages all verified base none address tainer:3f9b…12d0 (6.1 MB)$ atracode tainer build ./checkout # again, on another machine address tainer:3f9b…12d0 (identical)Illustrative
Compared with Docker.
Atratainer does the same job, with the answer you get carrying its own proof.
| Aspect | The usual way | Atratainer |
|---|---|---|
| What is inside | Your app on top of a Linux base image | Your graph, its dependencies and the runtime |
| Identity | A tag that can be moved to another image | A hash of the contents that cannot |
| Known vulnerabilities | Whatever the base image carries | No operating system, so no OS CVEs |
| Rebuild the same source | Usually a slightly different image | The same address, every time |
Questions.
Does it run outside Atra OS?
Yes. An Atratainer carries the runtime, so it runs as a single file anywhere. Atra OS adds attestation of which unit is running.
Can I convert a Dockerfile?
The plan is to read the build steps of a Dockerfile, compile the code it builds, and drop the base image. Details will come with the beta.
More from Atracode.
- AtrastrateDesigningIn place of KubernetesProve two configs are equivalent, guarantee reconciliation converges, and read every rollout as a diff of behavior.
- AtraimageBuildingIn place of PNG, JPEG, WebP and AVIFAn image codec with content-addressed pixels, built-in integrity and dedup.
- AtraphileBuildingIn place of WAV, FLAC, Opus and AACAn audio codec with content-addressed samples and deterministic decode.
Build on Atratainer early. Tell us what you'd use it for.
Atratainer is building now. Early-access teams help shape it and get it first.