-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
Signed-off-by: Ravi Chamarthy <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
# atomfs binary | ||
# atomfs [![GoDoc](https://godoc.org/machinerun.io/atomfs?status.svg)](https://godoc.org/machinerun.io/atomfs) [![build](https://github.com/project-machine/atomfs/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/project-machine/atomfs/actions/workflows/build.yaml) [![codecov](https://codecov.io/gh/project-machine/atomfs/graph/badge.svg?token=175HCB255L)](https://codecov.io/gh/project-machine/atomfs) [![Apache 2 licensed](https://img.shields.io/badge/license-Apache2-blue.svg)](https://raw.githubusercontent.com/gojini/signal/main/LICENSE) | ||
|
||
`atomfs` is a tool that can mount OCI images built in the `squashfs` format as | ||
as read-only `overlay` filesystem that can be used by a container runtime. In | ||
addition to setting up the mount, `atomfs` can also set up a verity check on the | ||
squashfs image to ensure that the image is not tampered with during the runtime. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
raharper
|
||
|
||
## atomfs library | ||
|
||
Please find the atomfs library documentation at [godoc](https://godoc.org/machinerun.io/atomfs). | ||
|
||
## atomfs binary | ||
|
||
This can be used to mount an OCI+squashfs image. If you are host | ||
root, then squashfs will be mounted by the kernel. If you are | ||
|
The verity description could be clearer - it's not so much about being tampered with during runtime as it is verifying that the image we mount is the image we expect (verified using the root hash that's stored as an OCI annotation).
So maybe the second sentence should read "for OCI-squashfs images that were created with dm-verity data appended, which stacker does by default, then atomfs will mount each individual squashfs layer using dm-verity before constructing the final overlayfs stack. This ensures the integrity of the contents of the image when mounted, and the use of squashfs removes the window of time between tar extraction and image mounting when an image could be tampered with.