HowTo build dockerd/docker cli on ARM64v8 (Pine A64)

state: running

Using a Pina A64 2GB RAM board with Armbian 5.31 (Ubuntu 16.04.2 LTS)

start with:
apt-get install -y git-core btrfs-tools libsqlite3-dev libdevmapper-dev
cd /usr/src
git clone
mv docker dockerd
cd dockerd
git checkout v17.05.0-ce
vi Dockerfile.aarch64
make binary

<This will take some time (minutes to hours)>

Then copy the files from "bundles/17.05.0-ce/binary-client" and "bundles/17.05.0-ce/binary-daemon" to "/usr/bin".



For the dev version >17.05.0 (currently 17.06.0-dev and any further versions) the docker cli will be a seperate package.

For such a version do the same as above, but the only creates "dockerd" and related files.

To build "docker" to the following in addition to above (with version "master" instead):

cd /usr/src
git clone
mv cli docker-cli
cd docker-cli
git checkout master
git pull
vi dockerfiles/

FROM    golang:1.8.3-alpine

FROM    intrepidde/golang:arm64-1.8.3

RUN     apk add -U git make bash coreutils

RUN     apt-get update ; apt-get install -f -y git make bash coreutils

(Or if you build your own go-container using my manual intrepidde/golang, the name of this container)

make -f docker.Makefile binary