1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-08 09:04:54 +00:00
No description
Find a file
Jason Hall a79099aa7e works
2021-10-11 16:49:38 -04:00
.github Delete combine-dependabot.yaml 2021-09-24 21:36:13 -04:00
cmd works 2021-10-11 16:49:38 -04:00
pkg
.gitignore
.ko.yaml
deploy.sh test after deployment 2021-09-22 11:51:43 -04:00
go.mod upgrade ko dep, fix breakages 2021-10-07 10:12:32 -04:00
go.sum Merge branch 'main' into dependabot/go_modules/github.com/google/ko-0.9.3 2021-10-07 10:15:07 -04:00
LICENSE
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.