Description
containerd v2.0 enabled the Transfer API by default.
This broke ctr images import --all-platforms:
$ ctr images export --all-platforms hello-world.tar docker.io/library/hello-world:latest
$ ctr images import --all-platforms hello-world.tar
ctr: rpc error: code = InvalidArgument desc = unable to initialize unpacker: no unpack platforms defined: invalid argument
Workaround: disable the Transfer API ( --local=true )
Steps to reproduce the issue
See above
Describe the results you received and expected
Received: ctr: rpc error: code = InvalidArgument desc = unable to initialize unpacker: no unpack platforms defined: invalid argument
Expected: the image should be imported, and it should be unpacked for the default platform
What version of containerd are you using?
containerd github.com/containerd/containerd/v2 v2.0.1 88aa2f5
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
👍 React with 👍 1BenTheElder