Skip to content

Instantly share code, notes, and snippets.

@ssplatt
Last active October 30, 2018 13:34
Show Gist options
  • Save ssplatt/a585cc3bf640904e62f5df43a57b275c to your computer and use it in GitHub Desktop.
Save ssplatt/a585cc3bf640904e62f5df43a57b275c to your computer and use it in GitHub Desktop.
Docker-CE for Odroid. aarch64 (arm64) is not a supported arch for Docker-CE yet, but the things to build the packages already exist.

Uses https://github.com/docker/docker-ce/blob/master/components/packaging/deb/ubuntu-xenial/Dockerfile.aarch64

on your odroid using the ubuntu-xenial image from hardkernel. for example, http://east.us.odroid.in/ubuntu_16.04lts/ubuntu64-16.04.3-minimal-odroid-c2-20171005.img.xz

apt install git docker.io
git clone https://github.com/docker/docker-ce
cd docker-ce
git checkout 17.12
make deb DOCKER_BUILD_PKGS=ubuntu-xenial
apt purge docker.io
dpkg-install ./components/packaging/deb/debbuild/ubuntu-xenial/docker-ce_17.12.0~ce-0~ubuntu_aarch64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment