Docker-CE on a Pine64
#1
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
#2
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.
You can find me on IRC, Discord and Twitter


#3
(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.
#4
(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/


Possibly Related Threads…
Thread Author Replies Views Last Post
  Docker Container is started but not runing johnson267 0 1,129 02-27-2022, 07:59 PM
Last Post: johnson267
  New use case for my Pine64 S265 4 5,693 05-22-2020, 02:13 AM
Last Post: S265
Lightbulb NAS + ​Pine64 ROCK64 = Few Important Questions FilipWozniak 8 14,056 04-14-2019, 09:21 AM
Last Post: default_user8
  Slow SMB Transfer speed.Sent multiple email to Pine64 website and No single reply avelec 3 4,636 03-13-2019, 06:10 AM
Last Post: PatrickM
  C++ GPIO seg fault on Rock64 using Pine64-CPP Jeff R 1 3,374 02-06-2019, 07:40 PM
Last Post: Jeff R
  Docker aarch64 on Rock64 douglasmiranda 1 5,528 12-23-2017, 01:49 AM
Last Post: xnathanh
  Rock64 / OMV / Docker jata 3 6,028 11-07-2017, 03:31 AM
Last Post: digitaldaz

Forum Jump:


Users browsing this thread: 1 Guest(s)