Search code examples
dockerraspbianraspberry-pi2

Docker on Raspberry Pi 2: Could not reach any registry endpoint


I installed docker on my Raspberry Pi 2 and want to pull some images. But when I try to pull with docker pull nginx, I get Could not reach any registry endpoint. My network connection is ok and even docker search nginx echos all images. I installed docker from the raspbian repository with sudo apt-get install docker.io so it is an older version. I wasn't able to install a newer version. The docker version is 1.3.3.

Also asked in: https://raspberrypi.stackexchange.com/questions/51029/docker-on-raspberry-pi-2-could-not-reach-any-registry-endpoint


Solution

  • As @jarvis11 said, Docker stopped supporting client versions below 1.5. At the same time, the current version available for raspbian jessie is 1.3, so you will have to install from source or one of the binaries.

    Basically, step 4 here:

    https://github.com/umiddelb/armhf/wiki/Get-Docker-up-and-running-on-the-RaspberryPi-(ARMv6)-in-four-steps-(Wheezy)