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
2020-12-23 06:42:54 -05:00
cmd Add kaniko.kontain.me - Fixes #11 2020-12-23 06:42:54 -05:00
pkg Add kaniko.kontain.me - Fixes #11 2020-12-23 06:42:54 -05:00
.gitignore deploy using Terraform, change project and bucket 2020-12-20 07:29:05 -05:00
.ko.yaml Add kaniko.kontain.me - Fixes #11 2020-12-23 06:42:54 -05:00
deploy.sh fix .ko.yaml base image bug 2020-12-21 12:17:53 -05:00
go.mod Support latest-release in buildpack 2020-10-25 22:19:28 -04:00
go.sum Support latest-release in buildpack 2020-10-25 22:19:28 -04:00
kontainme.tf Add kaniko.kontain.me - Fixes #11 2020-12-23 06:42:54 -05:00
LICENSE
README.md document viz 2020-12-17 06:58:05 -05:00
test.sh Try to migrate to GCP buildpacks 2020-05-29 17:59:22 -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. 🤷

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 blobs to Google Cloud Storage. After it receives the manifest, docker pull fetches the blobs. The app simply redirects to Cloud Storage to serve the blobs. Blobs are deleted after 24 hours and would be rebuilt on the next request.