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/README.md

613 B

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.