1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-08 00:55:14 +00:00
kontain.me/cmd/flatten
2021-08-14 15:58:51 -04:00
..
deploy.sh add deploy.sh scripts 2021-08-14 14:40:25 -04:00
main.go better support registries in flatten and mirror 2021-04-09 12:30:21 -04:00
README.md document pull-by-digest limitations for estargz and flatten 2021-07-26 10:51:43 -04:00
test.sh split up tests too 2021-08-14 15:58:51 -04: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.