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:

  • Pushing Docker Hub images to private Docker Registry
  • Deploy image to AWS Elastic Beanstalk from private Docker repo
  • Update Docker image and container from Jenkins
  • 403 error on PHP files with nginx, PHP-FPM and docker
  • How can I make a host directory mount with the container directory's contents?
  • Dockerize Applications or Machines?
  • 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 build docker images on AWS EC2 Windows Server instance?
  • Unable to build docker from root
  • How to configure an application in openshift via a REST endpoint?
  • docker-compose volumes don't contain latest static code from image
  • Docker Mysql container root password [mysqld listens port 0]
  • Setting up multiple Docker containers and MongoDB to run in CircleCI
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.