1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-07 00:32:28 +00:00
No description
Find a file
Jason Hall ad02c93765
remove pipefail
Signed-off-by: Jason Hall <jason@chainguard.dev>
2023-11-26 12:51:16 -05:00
.github streamline GHA 2023-11-17 10:47:45 -05:00
cmd remove pipefail 2023-11-26 12:51:16 -05:00
pkg use slog, refactor TF 2023-11-14 21:27:18 -05:00
.gitignore
.terraform.lock.hcl remove module indirection 2023-11-20 10:39:18 -06:00
apps.tf remove module indirection 2023-11-20 10:39:18 -06:00
go.mod bump deps 2023-11-14 21:39:50 -05:00
go.sum bump deps 2023-11-14 21:39:50 -05:00
LICENSE
main.tf remove module indirection 2023-11-20 10:39:18 -06:00
README.md use slog, refactor TF 2023-11-14 21:27:18 -05:00

kontain.me

CI Deploy

Serving container images generated on-demand, at the time they are requested.

These include:

This repo also serves viz.kontain.me, which visualizes shared image layers using Graphviz.

Caveats

  • The registry does not accept pushes.
  • This is a silly hack and probably isn't stable. Don't rely on it for anything serious.
  • It could probably do a lot of smart things to be a lot faster. 🤷
  • Blobs and manifests are cached for 24 hours wherever possible, but will be rebuilt from scratch after that time.

How it works

The service is implemented using Google Cloud Run.

When the service receives a request for an image manifest, it parses the request and generates layers for the requested image, writing the manifest and blobs to Google Cloud Storage. After it receives the manifest, docker pull fetches the blobs. The app simply redirects to Cloud Storage to serve manifests and blobs.