请问 docker save 为何出现 could not verify layer data 的错误提示,从而无法备份?

2017-08-07 05:57:46 +08:00
 oglop

我 pull 了这个 quay.io/travisci/travis-ruby, 装了点东西然后 commit 了一下, 为何 save 的时候提示

$ sudo docker save -o tt.tar.gz tt:latest
Error response from daemon: could not verify layer data for: sha256:xxxxx. This may be because internal files in the layer store were modified. Re-pulling or rebuilding this image may resolve the issue

问了下 stackoverflow 还没答案 https://stackoverflow.com/questions/45535790/how-do-i-use-docker-save-to-backup-a-local-image-to-file/

2494 次点击
所在节点    问与答
4 条回复
zoues
2017-08-07 06:16:29 +08:00
要先 commit 再 save
oglop
2017-08-07 06:18:16 +08:00
@zoues 我 commit 过了
oglop
2017-08-07 06:19:46 +08:00
zoues
2017-08-07 06:26:42 +08:00
@oglop ...刚起 没看清

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/380914

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX