Skip to content

yang-l/pine64-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Compile Docker for Pine64

https://travis-ci.org/yang-l/pine64-docker.svg?branch=master

This repository stores binary Docker files compiled from source on Pine64 and for Pine64.

Binary Docker files are stored under versioned branch. To extract the Docker binary files on Pine64, this can be done in one step

curl -sLk https://github.com/yang-l/pine64-docker/raw/v1.13.0/docker.tar.xz | tar -C /usr/bin/ -xJpf -

The version string “v1.13.0” can be replaced by any available branch names under this repository.

The Docker binary files are compiled by following the instructions from Docker offical, e.g. build docker binary insider docker container. The following steps need to be run inside a Pine64 board (or under a aarch64 QEmu instance), otherwise different architechture binary files may be built.

git clone --depth 1 --branch v17.03.0-ce --single-branch https://github.com/docker/docker.git
cd docker
make build
make binary
tar cJhvf docker.tar.xz --xform='s,bundles/17.03.0-ce/binary-client,.,g;s,bundles/17.03.0-ce/binary-daemon,.,g' bundles/17.03.0-ce/binary-client/docker bundles/17.03.0-ce/binary-daemon/docker-containerd bundles/17.03.0-ce/binary-daemon/docker-containerd-ctr bundles/17.03.0-ce/binary-daemon/docker-containerd-shim bundles/17.03.0-ce/binary-daemon/dockerd bundles/17.03.0-ce/binary-daemon/docker-init bundles/17.03.0-ce/binary-daemon/docker-proxy bundles/17.03.0-ce/binary-daemon/docker-runc

Also, this process can be run inside Docker by build-docker-bin.sh, and the final binary tarball is stored in output/docker.tar.xz

About

Prebuild Docker for Pine64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages