weixin_39687422 2020-11-21 16:57
浏览 0

load images from tarball without repo tags

Today, when we save an image from docker image ID into tarball, and then try to load it with ctr cri load <image>.tar, nothing is gonna to happen.

console
$ docker images
...
hub.tess.io/kubernetes/pause                       0.8.0                        bf595365a558        3 years ago         242kB
$ docker save bf595365a558 -o bf595365a558.tar
$ tar xf bf595365a558.tar
tar: manifest.json: implausibly old time stamp 1969-12-31 17:00:00
$ cat manifest.json
[{"Config":"bf595365a5588ec1bae3e9dc9efde13672f7b7561b6cc4514a82f07be9d01ca6.json","RepoTags":null,"Layers":["5c9b3bc6c97a13bd007352809ff8477d875508cd4c7de2a2614b4a7c424bfb2e/layer.tar","58b1000336114fedb143389349b4a233ec3630c812a30ee714405b6e7e37d8c3/layer.tar","1084d26384c630c366b780ccedbe1184c2e729d115e6c1b88895935345bba43c/layer.tar"]}]
$ ctr cri load bf595365a558.tar
$ ctictl images list
// nothing

该提问来源于开源项目:containerd/cri

  • 写回答

6条回答 默认 最新

  • weixin_39687422 2020-11-21 16:57
    关注

    cc -Liu

    评论

报告相同问题?