The deployment process of some test environment requires using docker save
, sending the file over, then using docker load
to materialize the docker image on the other end.
Today this started happening for some reason:
Error response from daemon: Error processing tar file(exit status 1): unexpected EOF
It turned out that the image upload was not successful, and the file was cut short, so it literally had an unexpected EOF
. (duh)
Using md5sum
or ls
to compare the files would have helped me spot this error much sooner.
Shoutout tothis google result which stated the same.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.