Running Docker-CE on a Pine64

Hello, this is my first post on this forum and I have quite a perplexing problem. I’m trying to get Docker installed on my Pine64. The Pine is running Ubuntu Base 16.04.2 Xenial with everything up to date.

I did these commands:

$ sudo apt-get install
apt-transport-https
ca-certificates
curl
software-properties-common

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

$ sudo apt-key fingerprint 0EBFCD88

$ sudo add-apt-repository
“deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable”

$ sudo apt-get update

I had no error up until this point. Then I had to install Docker-CE

sudo apt-get install docker-ce

This is where I get the error (ubuntu unable to locate package). I’ve turned the internet upside down trying to find an answer but no luck. Hope someone can help a noob in need. Cheers

apt-get install docker.io

I think that the arch that you are using is wrong. arch=amd64 should be arch=armhf

Anyway, changing the arch you are going to have the same problem. :frowning:

This is not the recommended way, but it is working:

$ sudo docker run container4armhf/armhf-busybox echo "Hello Docker on Pine64"
Unable to find image 'container4armhf/armhf-busybox:latest' locally
latest: Pulling from container4armhf/armhf-busybox
7e88df9f5a71: Pull complete 
Digest: sha256:7fa8d76312af63ff75e3f53a3d9f5509ccb888ca1bd747d71da044d97411cf0d
Status: Downloaded newer image for container4armhf/armhf-busybox:latest
Hello Docker on Pine64