containerd/cmd/ctr
Akihiro Suda c4270430db ctr: ctr images import --all-platforms: fix unpack
Fix issue 11228

`ctr images import --all-platforms` w/o `--local` was failing due to
`unable to initialize unpacker: no unpack platforms defined` error.

W/ `--local`, it unpacks the layers for the strict-default platform.

Now `ctr images import --all-platforms` w/o `--local` unpacks the layers
for the non-strict default platform.
This behavior still differs from `--local`.
i.e., on an arm64 host, arm/v{5,6,7} layers are unpacked too.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-01-09 02:26:18 +00:00
..
app cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
commands ctr: ctr images import --all-platforms: fix unpack 2025-01-09 02:26:18 +00:00
main.go remove sha256-simd 2024-08-25 04:46:04 +00:00