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!
#2
Under Ubuntu Docker(CE arm64) is in the depots. :)

[Image: 48d3077886bc38623fbd3e44c7e3012f47ee1751.png]
#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
#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.
#5
https://www.phoronix.com/scan.php?page=n...px=MTY5ODk


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Recovery with Void Linux (xbps) bds 4 1,306 09-13-2024, 07:01 PM
Last Post: bds
  How to update Manjaro to 20.10 pineitup 8 15,179 07-31-2021, 04:44 AM
Last Post: jiyong
  Write SD cards with Etcher for Pinebook Pro futurejones 17 32,970 03-19-2021, 12:52 AM
Last Post: Alex007
  [GUIDE] ArchLinuxARM on Pinebook Pro hku2 10 21,395 12-25-2020, 05:44 AM
Last Post: boteium
  Tinkering with docker-chromium-armhf to use any armhf program e.g. vncviewer wrzomar 0 2,935 09-30-2020, 02:07 PM
Last Post: wrzomar
  Program SPI NOR Flash on Pinebook Pro with u-boot on micro SD Card hmuller 0 3,733 09-21-2020, 10:02 AM
Last Post: hmuller
  Installing Ubuntu 20.04 (Focal) with BSP uBoot with deep sleep and sound Syonyk 43 60,042 07-28-2020, 03:18 PM
Last Post: SamWilts
  Installing WPS Office on Manjaro brent.thierens 5 10,707 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 4,277 06-10-2020, 08:45 AM
Last Post: jiyong
  Instructions for Installing VS Code on Manjaro clover 6 15,601 06-04-2020, 09:37 PM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 1 Guest(s)