what is Server error: Status 0 while fetching image layer

Basic tests do not pass

sudo docker run -i -t ubuntu /bin/bash

https://docs.docker.com/installation/ubuntulinux/

  • Understanding user file ownership in docker: how to avoid changing permissions of linked volumes
  • Pitfalls of Docker Running Alongside MAMP
  • Can't expose a fuse based volume to a Docker container
  • Mesos cannot deploy container from private Docker registry
  • Hygieia collectors not working
  • Docker error in Linux mint 17
  • I am on Ubuntu 14 lts 64 bits

    Docker version

    Client version: 1.3.1
    Client API version: 1.15
    Go version (client): go1.3.3
    Git commit (client): 4e9bbfa
    OS/Arch (client): linux/amd64
    Server version: 1.3.1
    Server API version: 1.15
    Go version (server): go1.3.3
    Git commit (server): 4e9bbfa
    

    Error message:

     Error pulling image (latest) from ubuntu, Server error: Status 0 while fetching image layer (511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158) 
    

    What is this error message means

    Server error: Status 0 while fetching image layer 
    

  • Cache docker images on Travis CI
  • How do I get environment variables to persist into an imported Docker image
  • Web service under Docker connection issue
  • Running Docker in PyCharm using Windows and virtualenv (Tensorflow)
  • Sending signals to Golang application in Docker
  • How do I filter docker swarm nodes by label?
  • 2 Solutions collect form web for “what is Server error: Status 0 while fetching image layer”

    Looking at the code that is throwing this error, it seems like you didn’t get a response when trying to contact the registry (otherwise the status code would be set to that response).

    This could happen for a variety of reasons, though a firewall / network issue is the most likely one.

    Turning on debug logging (on the Docker daemon, which you might have to restart for that to take effect) should make the error apparent in the Docker daemon logs (there is a Debugf statement a few lines up with the actual error).


    Generally speaking, the Docker code is pretty readable, and it’s easy to get to the right version since you have the git commit in docker version.

    try to run the container with an image version:

    sudo docker run -i -t ubuntu:14.04 /bin/bash
    

    or

    sudo docker run -i -t ubuntu:latest /bin/bash
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.