Install Docker CE from nightly builds on Raspberry Pi

Sujay Pillai
2 min readMay 7, 2019

--

I am just back from DockerCon 2019 and was lucky enough to attend Tõnis Tiigi session — “Getting the most out of BuildKit” at BuildKit OS Summit. To try out the latest buildkit features specially buildx on raspberry pi you will be needing the release v19.03 which is still under beta. Below are the steps to install nightly builds on raspberry pi (this should work on any linux variant too) from the script available at get.docker.com

To install a specific version of Docker CE, list the available versions in the repo, then select and install. Let’s say you need to install the nightly build from 04/25 below are the steps:

  1. List the available versions in your repo:

2. Install a specific version using the version string from the second column, for example to install the nightly build release from 04/25 choose the appropriate version string for the install command below -

sudo apt-get install docker-ce=5:0.0.0-20190425010327-cfb85db-0~raspbian-stretch docker-ce-cli=5:0.0.0-20190425010327-cfb85db-0~raspbian-stretch containerd.io

Nightly Builds

Nightly builds are created once per day from the master branch. The version number for nightly builds take the format:

0.0.0-YYYYmmddHHMMSS-abcdefa

where the time is the commit time in UTC and the final suffix is the prefix of the commit hash, for example 0.0.0–20190425010327-cfb85db.

These builds allow for testing from the latest code on the master branch. No qualifications or guarantees are made for the nightly builds.

The release channel for these builds is called nightly.

--

--