Error when loading a docker imager

I have a compressed docker image (call it image.tar.gz) which I’m trying to load with the following command:

$ docker load -i image.tar.gz

I get an “invalid argument” error. I tested docker (1.12.3) after the installation and it worked fine. I also restarted my mac as suggested here (Docker image load failed on mac, error is 'invalid argument') but it did not change anything. Any idea?

  • Are docker images portable across different linux flavours?
  • How to send STDIN to docker process
  • Docker run appears to ignore the name argument
  • Updating kubectl with new configurations
  • Concourse ci resolve docker hostname
  • Executing Docker commands with Gradle
  • Can I use a Windows .Net app with Docker?
  • Unable to delete untagged images:Error response from daemon: Conflict, 511136 wasn't deleted FATA[0000] Error: failed to remove one or more images
  • Is there a way to alter path where docker looks for repository certificates?
  • How is Docker different from a normal virtual machine?
  • Celery & RabbitMQ running as docker containers: Received unregistered task of type '…'
  • docker add cache when git checkout same file
  • 2 Solutions collect form web for “Error when loading a docker imager”

    As per the documentation, what you have used seemed to be correct. That is strange.

    May be you can use below command to see if that goes well:

    $ docker load < imageName.tar.gz
    

    I actually think the image file was corrupted / incomplete, which is the reason behind the error message.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.