PINE64
Has someone managed to get Docker running yet? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Has someone managed to get Docker running yet? (/showthread.php?tid=4889)

Pages: 1 2


Has someone managed to get Docker running yet? - Sven - 08-10-2017

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.


RE: Has someone managed to get Docker running yet? - Usertastic - 09-01-2017

Running into this myself, and fortunately it is fixable by installing a newer kernel :
https://forum.pine64.org/archive/index.php?thread-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/



RE: Has someone managed to get Docker running yet? - listenfree - 09-03-2017

good working!


RE: Has someone managed to get Docker running yet? - ayufan - 09-04-2017

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.


RE: Has someone managed to get Docker running yet? - gas14 - 09-16-2017

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



RE: Has someone managed to get Docker running yet? - stuartiannaylor - 09-21-2017

(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/installation/linux/docker-ce/debian/#prerequisites Docker CE is supported on both x86_64 (or amd64) and armhf architectures for Jessie and Stretch.
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#prerequisites 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-build/releases/download/0.5.9/xenial-minimal-rock64-0.5.9-104-armhf.img.xz


RE: Has someone managed to get Docker running yet? - listenfree - 09-22-2017

https://github.com/yang-l/pine64-docker
can help you maybe.


RE: Has someone managed to get Docker running yet? - ayufan - 09-22-2017

Try running this script on xenial: armhf or arm64: https://get.docker.com/


RE: Has someone managed to get Docker running yet? - digitaldaz - 09-23-2017

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.


RE: Has someone managed to get Docker running yet? - stuartiannaylor - 09-23-2017

(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.