1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-08 00:55:14 +00:00
No description
Find a file
2021-09-22 12:48:41 -04:00
.github install crane for tests 2021-09-22 12:48:41 -04:00
cmd fix shebang 2021-09-22 08:27:53 -04:00
pkg Add estargz optimizer, log Range requests 2021-07-24 22:03:08 -04:00
.gitignore add tfstate 2021-02-02 19:23:45 -05:00
.ko.yaml Add kaniko.kontain.me - Fixes #11 2020-12-23 06:42:54 -05:00
.terraform.lock.hcl add .terraform.lock.hcl 2021-01-28 21:48:23 -05:00
deploy.sh test after deployment 2021-09-22 11:51:43 -04:00
go.mod Merge pull request #36 from imjasonh/dependabot/go_modules/google.golang.org/api-0.52.0 2021-08-06 09:21:21 -04:00
go.sum Merge pull request #36 from imjasonh/dependabot/go_modules/google.golang.org/api-0.52.0 2021-08-06 09:21:21 -04:00
LICENSE Use ko to build, add LICENSE headers 2018-12-08 17:56:33 -05:00
README.md add skeleton of transparency 2021-08-14 11:46:06 -04:00
test.sh -name 2021-09-22 11:57:48 -04:00

kontain.me serves Docker 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.