Has someone managed to get Docker running yet?
#1
I tried to get Docker running, but it doesn't work as posix mqueue is not enabled in the kernel (using ayufan's Xenial minimal image).

Before I start trying to solve that myself, which hopefully only involves compiling the kernel with mqueue configured, I wanted to ask if anyone else got Docker running or if someone knows if there is a reason why mqueue isn't enabled.
  Reply
#2
Running into this myself, and fortunately it is fixable by installing a newer kernel :
https://forum.pine64.org/archive/index.p...-5043.html

I can run docker with 4.13.0-rc1-rockchip-ayufan-96-gbacbee6
I did notice ssh problems over IPv4, but not over IPv6. Strange?


Code:
rock64@rock64:~$ sudo docker run -it --rm aarch64/hello-world

Hello from Docker on arm64!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
   executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
   to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
https://cloud.docker.com/

For more examples and ideas, visit:
https://docs.docker.com/engine/userguide/
  Reply
#3
good working!
  Reply
#4
I'm pushing 0.5.7 that will enable needed kernel modules on 4.4. Due to performance and compatibility you should use 4.4 for now.
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
  Reply
#5
hi what repo was used to install the docker
I used the official docker repos but i'm not able to install docker-ce

Code:
root@rock64:~# uname -a
Linux rock64 4.4.77-rockchip-ayufan-104 #1 SMP Sun Sep 10 21:24:43 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
root@rock64:~# apt-get install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-ce
  Reply
#6
(09-16-2017, 02:47 PM)gas14 Wrote: hi what repo was used to install the docker
I used the official docker repos but i'm not able to install docker-ce

Code:
root@rock64:~# uname -a
Linux rock64 4.4.77-rockchip-ayufan-104 #1 SMP Sun Sep 10 21:24:43 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
root@rock64:~# apt-get install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-ce
https://docs.docker.com/engine/installat...requisites Docker CE is supported on both x86_64 (or amd64) and armhf architectures for Jessie and Stretch.
https://docs.docker.com/engine/installat...requisites Docker CE is supported on Ubuntu on x86_64, armhf, and s390x (IBM z Systems) architectures.

Looks like its only armHF so you will have to install multiarch and specify armhf in the apt-get install
Or just get the armhf image for rock64 xenial https://github.com/ayufan-rock64/linux-b...mhf.img.xz
  Reply
#7
https://github.com/yang-l/pine64-docker
can help you maybe.
  Reply
#8
Try running this script on xenial: armhf or arm64: https://get.docker.com/
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
  Reply
#9
Am I missing something here? For my kubernetes I just did:
Code:
apt-get install docker.io

That just gives you the runtime though, maybe you need other stuff too.
  Reply
#10
(09-23-2017, 04:10 AM)digitaldaz Wrote: Am I missing something here? For my kubernetes I just did:
Code:
apt-get install docker.io

That just gives you the runtime though, maybe you need other stuff too.

Nope difference is between the distro's repo's and dockers repo's.
Raspbian has to use the convenience script Ayufan posted but it sets docker up as root.

So yeah there are 3 ways like you did from the distro repo which is sometimes behind the current docker repo.

Or follow these 2 depending on distro and use the more up to date docker repo.
https://docs.docker.com/engine/installat...requisites Docker CE is supported on both x86_64 (or amd64) and armhf architectures for Jessie and Stretch.

https://docs.docker.com/engine/installat...requisites Docker CE is supported on Ubuntu on x86_64, armhf, and s390x (IBM z Systems) architectures.

Or the convenience script @ getdocker.com which is a must for raspbian.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Running Panfrost? ab1jx 5 3,208 10-04-2020, 09:53 PM
Last Post: tomarm
  Remedial Docker lessons cjyar 2 1,727 12-19-2019, 05:38 AM
Last Post: lbruno
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 2,369 09-19-2019, 07:00 AM
Last Post: Malmgren
  help building a docker image jata 6 4,019 07-12-2019, 08:47 PM
Last Post: hmuller
  EasyOS 1.0.4 running on Rock64 BarryK 2 1,896 02-19-2019, 01:11 AM
Last Post: pineadmin
  Managed to install Kubernetes digitaldaz 2 1,985 09-29-2018, 09:05 PM
Last Post: suberimakuri
  Docker Mssql Riverman 5 2,728 07-09-2018, 11:26 PM
Last Post: pfeerick
  docker contaainer error on "docker login" edwinbmiller 0 730 06-18-2018, 10:08 AM
Last Post: edwinbmiller
  Kodi + Docker - what are the image options for Rock64 to support this? zarusz 0 1,688 05-20-2018, 01:41 AM
Last Post: zarusz
  Running debian testing, web video blows :( dougunder 2 1,727 04-22-2018, 03:24 PM
Last Post: dougunder

Forum Jump:


Users browsing this thread: 1 Guest(s)