Unable to pull Docker hello-world

I read and tried all posts concerning this issue, every line in Docker Docs. Unfortunately my problem still persists.

This is what happens:

  • How to configure dns entries for Docker Compose
  • Rancher: Can we deploy with zero down time
  • Why isn't Kubernetes service DNS working on Docker Multinode?
  • Optimising cargo build times in docker
  • automatic log rotation is not executing
  • Docker: how to manage development and production settings?
  • bayram@bayram-ubuntu-desktop:~$ sudo docker pull hello-world
    Using default tag: latest
    Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: Get https://auth.docker.io/token?account=bayram&scope=repository%3Alibrary%2Fhello-world%3Apull&service=registry.docker.io: EOF
    bayram@bayram-ubuntu-desktop:~$
    

    The strange thing is that 30 seconds later I ran the same command and got a different response:

    bayram@bayram-ubuntu-desktop:~$ sudo docker pull hello-world
    Using default tag: latest
    Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: EOF
    bayram@bayram-ubuntu-desktop:~$
    

    3 seconds later tried again:

    bayram@bayram-ubuntu-desktop:~$ sudo docker pull hello-world
    Using default tag: latest
    latest: Pulling from library/hello-world
    78445dd45222: Pulling fs layer 
    error pulling image configuration: Get https://registry-1.docker.io/v2/library/hello-world/blobs/sha256:48b5124b2768d2b917edcb640435044a97967015485e812545546cbed5cf0233: EOF
    bayram@bayram-ubuntu-desktop:~$ 
    

    Does anyone have idea what is wrong?

    I am sitting behind the proxy, using Ubuntu 16.04 desktop.
    I added

    [Service]
    Environment="HTTP_PROXY=user:pwd@123.456.789.123:1080/" 
    

    to /etc/systemd/system/docker.service.d/http-proxy.conf, then ran systemctl daemon-reload and restarted Docker daemon.

    This is my docker info:

    Containers: 0
     Running: 0
     Paused: 0
     Stopped: 0
    Images: 0
    Server Version: 17.03.0-ce
    Storage Driver: aufs
     Root Dir: /var/lib/docker/aufs
     Backing Filesystem: extfs
     Dirs: 0
     Dirperm1 Supported: true
    Logging Driver: json-file
    Cgroup Driver: cgroupfs
    Plugins: 
     Volume: local
     Network: bridge host macvlan null overlay
    Swarm: inactive
    Runtimes: runc
    Default Runtime: runc
    Init Binary: docker-init
    containerd version: 977c511eda0925a723debdc94d09459af49d082a
    runc version: a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70
    init version: 949e6fa
    Security Options:
     apparmor
     seccomp
      Profile: default
    Kernel Version: 4.4.0-64-generic
    Operating System: Ubuntu 16.04.2 LTS
    OSType: linux
    Architecture: x86_64
    CPUs: 4
    Total Memory: 7.71 GiB
    Name: bayram-ubuntu-desktop
    ID: JKHU:ZCJJ:TLHR:W7ED:JSH4:OHJC:ZIW5:YPW7:NLIX:ZYGH:UHSN:FNYH
    Docker Root Dir: /var/lib/docker
    Debug Mode (client): false
    Debug Mode (server): false
    Http Proxy: http://user:pwd@10.192.17.1:1080
    Https Proxy: http://user:pwd@10.192.17.1:1080
    Username: bayram
    Registry: https://index.docker.io/v1/
    WARNING: No swap limit support
    Experimental: false
    Insecure Registries:
     127.0.0.0/8
    Live Restore Enabled: false
    

  • How to configure Docker to communicate over the network?
  • docker disk space grows faster than container's
  • How to create a Docker image of centos provisioned with apache?
  • Docker task starting then stopping without any error
  • Dockerhub fails to build my Dockerfile
  • Running ASP.NET Core with HTTPS in docker from Visual Studio 2015
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.