Installing Docker on Pinebook Pro - update 1/18/20
#1
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 docker.com 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 https://github.com/docker/docker-ce/tree...it/systemd 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.

https://github.com/superxkooda/generic_docker_installer 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!
  Reply
#2
Under Ubuntu Docker(CE arm64) is in the depots. :)

[Image: 48d3077886bc38623fbd3e44c7e3012f47ee1751.png]
  Reply
#3
(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:

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

aarch64

While it can work I would not recommend adding an ubuntu repo to a debian system
  Reply
#4
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.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Installing Printer perfusion 0 72 01-04-2020, 11:40 AM
Last Post: perfusion
  Instructions for Installing VS Code on Manjaro clover 3 229 12-20-2019, 10:18 PM
Last Post: tophneal
  Swaywm on Pinebook Pro anjanmomi 7 639 12-17-2019, 07:49 AM
Last Post: tophneal
  Hardening your Pinebook Pro software Arwen 4 496 12-11-2019, 09:53 AM
Last Post: hdk
  Write SD cards with Etcher for Pinebook Pro futurejones 3 689 11-27-2019, 02:58 PM
Last Post: TDC_PBP

Forum Jump:


Users browsing this thread: 1 Guest(s)