Skip to content

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.

BuildingIn place of Docker and OCI containers

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
Packaging a service. Sample output; the commands are planned, not released.

Compared with Docker.

Atratainer does the same job, with the answer you get carrying its own proof.

Atratainer compared with Docker and OCI containers
AspectThe usual wayAtratainer
What is insideYour app on top of a Linux base imageYour graph, its dependencies and the runtime
IdentityA tag that can be moved to another imageA hash of the contents that cannot
Known vulnerabilitiesWhatever the base image carriesNo operating system, so no OS CVEs
Rebuild the same sourceUsually a slightly different imageThe 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.

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.