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?

  • docker website opens after a while - ec2/virtualbox
  • Selenium server works with Docker on MacOS but not on Jenkins
  • Trouble hitting a container's exposed port from a seperate container & host
  • Oracle on Docker with pre-pumped Data
  • Connect to Docker API from Windows to external server
  • Does Docker contain the Heardbleed exploit?
  • What does volume_from do if there are no volumes in the volume container?
  • How to programmatically know if I am building with -prod flag (ng build -prod)
  • What shall I give the ip adress of redis container to which tomcat will connect through source code Docker volume
  • Gunicorn graceful stopping with docker-compose
  • Don't publish a docker image for each SBT subproject
  • How to remove Server list of Docker(Project Interpreter) on Pycharm
  • 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.