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?

  • etcd3 docker persist discovery information
  • Is there a gui for writing dockerfiles?
  • Docker diff isn't showing changes to new files
  • How to copy a file from container to host using copy in docker-py
  • How to Dockerize a tomcat app
  • What does the command gcloud docker -a do?
  • Docker or Docker for AWS and Deployment on AWS EC2
  • How do I connect to gcloud sql with gcloud sql proxy from GKE
  • interactive docker build from dockerfile?
  • How to make a postgreSQL image postGIS enabled using a Dockerfile ?
  • How can JVMs running inside Bluemix container groups be monitored?
  • docker on ubuntu 16.04 OCI error when launching container
  • 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.