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?

  • What is the proper way to update the Ruby bin folder for a docker container?
  • Hazelcast discovery not working with AWS + Docker
  • How to view netstat of a container within another container?
  • docker image running a mac osx installation
  • AWS Elastic Beanstalk, Dockerrun.aws.json and multiple ports on docker run [duplicate]
  • install docker on network drive
  • How can I attach VS Code to a node process running in a docker container
  • Correct way to execute wait-for-it script in docker-compose
  • Symfony 3 with Docker and nginx
  • Elastic Beanstalk Single Container Docker - use awslogs logging driver
  • Vagrant+Docker: The container started never left the “stopped” state
  • Run MySQL on different port with different config
  • 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.