1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-07 00:32:28 +00:00
kontain.me/cmd/flatten
Jason Hall dc96e41aa3
put the train back on its rails
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-02-14 03:52:52 -06:00
..
main.go put the train back on its rails 2025-02-14 03:52:52 -06:00
README.md document pull-by-digest limitations for estargz and flatten 2021-07-26 10:51:43 -04:00
test.sh use glue dashboards, fix tests 2023-12-19 20:02:31 -05:00

flatten.kontain.me

docker pull flatten.kontain.me/[image] will pull an image (if it can), then flatten its layers into a single layer.

Only public images are supported.

Flattening images obviates image layer caching, so it's often not an optimization.

Examples

Pull a flattened busybox image:

docker pull flatten.kontain.me/busybox

Or by tag:

docker pull flatten.kontain.me/busybox:musl

Flattened images can't be requested by the digest of the unflattened image, because the flattened image digest won't match the original image's digest.