PINE64
Docker-CE on a Pine64 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: General Discussion on ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=86)
+--- Thread: Docker-CE on a Pine64 (/showthread.php?tid=5746)



Docker-CE on a Pine64 - amarbl - 02-21-2018

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/gpg1 | sudo apt-key add -

$ sudo apt-key fingerprint 0EBFCD88

$ sudo add-apt-repository 
“deb [arch=amd64] https://download.docker.com/linux/ubuntu4 
$(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


RE: Docker-CE on a Pine64 - Luke - 02-21-2018

Unless you're doing it for educational purposes / have a mind-set to make it work yourself, then you can skip the trouble and just use the (64bit) Xenial container image by ayufan, which includes Docker CE, Compose and Kubernates. NB: this is a pre-release image, so some things may not work. 

Read more on his git.


RE: Docker-CE on a Pine64 - blu-raspberry - 02-24-2018

(02-21-2018, 07:59 AM)Luke Wrote: Unless you're doing it for educational purposes / have a mind-set to make it work yourself, then you can skip the trouble and just use the (64bit) Xenial container image by ayufan, which includes Docker CE, Compose and Kubernates. NB: this is a pre-release image, so some things may not work. 

Read more on his git.

 +1. Thanks for the link!  This could become my go-to image as I’m learning docker.


RE: Docker-CE on a Pine64 - maumoura - 10-16-2018

(02-24-2018, 08:02 AM)blu-raspberry Wrote:
(02-21-2018, 07:59 AM)Luke Wrote: Unless you're doing it for educational purposes / have a mind-set to make it work yourself, then you can skip the trouble and just use the (64bit) Xenial container image by ayufan, which includes Docker CE, Compose and Kubernates. NB: this is a pre-release image, so some things may not work. 

Read more on his git.

 +1. Thanks for the link!  This could become my go-to image as I’m learning docker.

I know it's been a long time... but posting here as it might be useful to others. You add-repository step should be replaced by this:


Code:
$ echo "deb [arch=arm64] https://download.docker.com/linux/ubuntu \
    $(lsb_release -cs) stable" | \
   sudo tee /etc/apt/sources.list.d/docker.list

The important part is the architecture, it should be arch=arm64. You were using amd64 before. That's the only thing I remember having to change from the official install documentation at: https://docs.docker.com/install/linux/docker-ce/ubuntu/