I want to backup my docker image, named tt
, so I can change the base device size from 10 GB to 15 GB.
To do this I want to backup my local image first. But I am getting an error
$ sudo docker save -o tt.tar.gz tt
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
My images:
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
tt latest ced69d804781 13 minutes ago 9.186 GB
quay.io/travisci/travis-ruby latest e41062702ee0 2 years ago 5.782 GB
My containers:
$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f6ce7cf223b3 quay.io/travisci/travis-ruby "/bin/bash" 37 hours ago Up 22 minutes 22/tcp travis
The tt
image is created from quay.io/travisci/travis-ruby
. I installed some packages and committed it locally.