oglop
V2EX  ›  问与答

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

  •  
  •   oglop · Aug 7, 2017 · 3350 views
    This topic created in 3230 days ago, the information mentioned may be changed or developed.

    我 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/

    4 replies    2017-08-07 06:26:42 +08:00
    zoues
        1
    zoues  
       Aug 7, 2017 via iPhone
    要先 commit 再 save
    oglop
        2
    oglop  
    OP
       Aug 7, 2017
    @zoues 我 commit 过了
    oglop
        3
    oglop  
    OP
       Aug 7, 2017
    zoues
        4
    zoues  
       Aug 7, 2017 via iPhone
    @oglop ...刚起 没看清
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5567 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 05:59 · PVG 13:59 · LAX 22:59 · JFK 01:59
    ♥ Do have faith in what you're doing.