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:
x@x:~$ 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
x@x:~$ 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
x@x:~$ apt-cache search docker-ce
x@x:~$
 The problem for me is the system does not appear to be arm64 but rather the newer aarch64 as evidence by uname -m.
Code:
x@x:~$ 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
#5
https://www.phoronix.com/scan.php?page=n...px=MTY5ODk
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Write SD cards with Etcher for Pinebook Pro futurejones 10 3,076 09-22-2020, 07:16 AM
Last Post: Mangled
  Program SPI NOR Flash on Pinebook Pro with u-boot on micro SD Card hmuller 0 89 09-21-2020, 10:02 AM
Last Post: hmuller
  Installing Ubuntu 20.04 (Focal) with BSP uBoot with deep sleep and sound Syonyk 43 4,973 07-28-2020, 03:18 PM
Last Post: SamWilts
  Installing WPS Office on Manjaro brent.thierens 5 1,177 07-13-2020, 03:13 AM
Last Post: brent.thierens
  How to update the RTC date (time set to last timestamp before shutdown) JasonG-FR 1 409 06-10-2020, 08:45 AM
Last Post: jiyong
  [GUIDE] ArchLinuxARM on Pinebook Pro hku2 8 3,611 06-08-2020, 04:38 AM
Last Post: HeckDSL11
  Instructions for Installing VS Code on Manjaro clover 6 2,541 06-04-2020, 09:37 PM
Last Post: pfeerick
  Swaywm on Pinebook Pro anjanmomi 10 2,557 02-06-2020, 11:47 AM
Last Post: xmixahlx
  Quick Guide to installing Ubuntu Unity on your Pinebook Pro andybleaden@gmail.com 19 3,374 02-03-2020, 11:17 AM
Last Post: MIchael
  Installing Wine i386 on Pinebook Pro wrzomar 0 686 01-31-2020, 03:52 PM
Last Post: wrzomar

Forum Jump:


Users browsing this thread: 1 Guest(s)