ctr images export
and ctr images import
are incongruous
#10032
Labels
ctr images export
and ctr images import
are incongruous
#10032
Description
Intuitively, one would think that
ctr images export
followed by actr images import
should "just work". However, it does not (always).ctr images export --help
implies that, by default, the command does not export the layers for all platforms. However,ctr images import --help
suggests that it also doesn't import the layers for all platforms, which seems to me like an implicit--platform=<current_platform>
?Steps to reproduce the issue
One must specify the
--platform
option for this to work, and the error message when it does not is anything but helpful to figure out the solution.Describe the results you received and expected
I expect that
ctr images import
-ing an archive exported withctr images export
works with symmetrical flags in any case (here: no--platform
on either side).What version of containerd are you using?
containerd github.com/containerd/containerd 1.7.2
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response
The text was updated successfully, but these errors were encountered: