1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-16 20:34:22 +00:00
kontain.me/cmd/flatten/README.md

24 lines
460 B
Markdown
Raw Normal View History

2020-12-17 06:43:57 -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.
2020-12-21 13:36:38 -05:00
Only public images are supported.
2020-12-17 06:43:57 -05:00
_Flattening images obviates image layer caching, so it's often not an
optimization._
2020-12-21 13:36:38 -05:00
## Examples
Pull a flattened [`busybox`](https://hub.docker.com/_/busybox) image:
```
docker pull flatten.kontain.me/busybox
```
Or by tag:
```
docker pull flatten.kontain.me/busybox:musl
```