Installing Docker on Pinebook Pro - update 1/18/20 - Printable Version

+- PINE64 (
+-- Forum: Pinebook Pro (
+--- Forum: Pinebook Pro Tutorials (
+--- Thread: Installing Docker on Pinebook Pro - update 1/18/20 (/showthread.php?tid=8783)

Installing Docker on Pinebook Pro - update 1/18/20 - SuperXkoodA - 01-15-2020

Follow directions on the official Docker site here and use the armhf set of instructions. This is confirmed to work for me on MrFixIt2001's build of Debian at this time. 

The remainder of this post was hastefully written by me on my first night owning my PBP. The excitement must have gotten the best of me and can be ignored. It may still be useful if someone decides to use a distro that is configured for aarch64 and thus not supported by docker in a packaged form at this time. I am changing the repo name from being specific for the pinebook to being more generic as I feel it is misleading as it stands.

The steps taken in a nutshell are as follows
  1. Choose from one of the available versions on and download the tarball
  2. Extract the tarball to somewhere in your path. eg /usr/local/bin
  3. Create the docker user group and add yourself to it.
  4. Don't reinvent the wheel download both docker.service and docker.socket located here and modify to your needs. Specifically make sure the ExecStart directive in the file matches the path you installed dockerd to.
  5. Copy these files to /etc/systemd/system/
  6. Enable docker via `systemctl enable docker` so that the docker daemon starts at boot.
  7. Be sure to log out and log in for the group changes to take effect.
  8. Enjoy docker!
You could skip steps 4-6 if using systemd is not your thing. can do all the above steps for you.

This was all done on the base Debian install that comes with the Pinebook. I do not see why it wouldn't work for other distributions as is or with some modification. Please let me know if there is anything that is unclear!

RE: Installing Docker on Pinebook Pro - agD0i7rY - 01-15-2020

Under Ubuntu Docker(CE arm64) is in the depots. :)

[Image: 48d3077886bc38623fbd3e44c7e3012f47ee1751.png]

RE: Installing Docker on Pinebook Pro - SuperXkoodA - 01-15-2020

(01-15-2020, 04:47 AM)agD0i7rY Wrote: Under Ubuntu Docker(CE arm64) is in the depots. Smile

[Image: 48d3077886bc38623fbd3e44c7e3012f47ee1751.png]

I know that arm64 is available however if you add the docker repo it can't find it.

For example:

x@x:~$ grep -nr docker /etc/apt/sources.list
6:deb [arch=arm64] stretch stable
7:# deb-src [arch=arm64] stretch stable
x@x:~$ sudo apt-get update
Hit:1 stretch/updates InRelease
Ign:2 stretch InRelease
Hit:5 stretch InRelease
Hit:3 stretch-updates InRelease
Hit:4 stretch Release
Reading package lists... Done
x@x:~$ apt-cache search docker-ce
 The problem for me is the system does not appear to be arm64 but rather the newer aarch64 as evidence by uname -m.
x@x:~$ uname -m


While it can work I would not recommend adding an ubuntu repo to a debian system

RE: Installing Docker on Pinebook Pro - SuperXkoodA - 01-17-2020

While the above instructions do work and will install the aarch64 version of docker, I have to admit I made a mistake. The crux of my problem is that while the arch of the system is aarch64, apt is setup to install armhf packages. this can be seen by running dpkg --print-architecture  the output is armhf. This explains why trying to install Docker from the arm64 repos was not working and it was behaving as if the packages did not exist for me. In short an easy to install docker is to follow the official directions here for armhf Debian. I will update the original post to reflect this as my instructions on the default install are BAD instructions.

RE: Installing Docker on Pinebook Pro - update 1/18/20 - chaoskampf - 03-24-2020