Search code examples
dockerboot2docker

Docker: invalid tar header


I've created an image for docker on my Ubuntu 14.04 with the latest version of Docker (1.6.2):

sudo docker save 'something' > something-image.tar

On a mac I installed the latest Boot2docker and run this

docker load < something-image.tar

Which gives this error:

FATA[0489] Error response from deamon: Untar exit status 1 archive/tar: 
invalid tar header

Getting the same error in Windows Boot2docker, I guess something went wrong with the tar creation. Why is this tar not working?


Solution

  • Problem was solved by updating to docker 1.7 and redoing everything.