1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-08 17:15:12 +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
README.md
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.