Collabora in docker on armbian

@Stuart_Naylor

I have installed docker from armbian repo, else it doenst work on orangepi+2e armbain xenial server

I have installed nextcloud with nginx

docker information

root@orangepiplus2e:~# docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 1.12.3
Storage Driver: overlay
Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.10.0-sun8i
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 1.97 GiB
Name: orangepiplus2e
ID: EAMH:FLM7:EZ4E:24B3:VP4J:QSZL:SVK3:6U2N:6X3P:255F:SN57:3U6Y
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
127.0.0.0/8

i cant get office/collabora icona and cant open any docs, (access forbidden)

Please guide
thanks in adv

edit : this info is after deleting container as recommended by you in post #33
edit : after pulling collabora/code

Name: orangepiplus2e
ID: EAMH:FLM7:EZ4E:24B3:VP4J:QSZL:SVK3:6U2N:6X3P:255F:SN57:3U6Y
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
127.0.0.0/8
root@orangepiplus2e:~# docker run -t -d -p 9980:9980 -e β€œdomain=officenarstorage.ddns.net” --cap-add MKNOD collabora/code
25fae615047fbb246505b893cd57d016bb3b2047b5347b5f9df7ac9e4d43e10b
root@orangepiplus2e:~# docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 1.12.3
Storage Driver: overlay
Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.10.0-sun8i
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 1.97 GiB
Name: orangepiplus2e
ID: EAMH:FLM7:EZ4E:24B3:VP4J:QSZL:SVK3:6U2N:6X3P:255F:SN57:3U6Y
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
127.0.0.0/8

Please guide as i cant get collabora working with nextcloud 11

Your docker info is showing overlay which supposedly works just have never tried it.

Maybe try swapping to device-mapper.

https://help.nextcloud.com/t/well-this-is-embarrassing/6261/37?u=stuart_naylor&source_topic_id=10355

PS not sure that X86 docker container will run on Arm, unless you use Qemu.

This is my new docker info
Installed docker from apt.dockerproject.com

Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 1
Server Version: 1.13.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.10.0-sun8i
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 1.97 GiB
Name: orangepiplus2e
ID: EAMH:FLM7:EZ4E:24B3:VP4J:QSZL:SVK3:6U2N:6X3P:255F:SN57:3U6Y
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

when ii try to change storage as per post 33
i get stucked at docker info
no result from docker info.
Please guide

Storage Driver: overlay2 so device-mapper not set-up

mkdir /etc/systemd/system/docker.service.d
nano /etc/systemd/system/docker.service.d/execWithDeviceMapper.conf
Create like so (paste):
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd --storage-driver=devicemapper -H fd://

Check the last line is correct by grep ExecStart /lib/systemd/system/docker.service
Just to check it is -H fd://

But someone will tell me if I am wrong but the container is an X86 build and will not run on Arm.

I have tried this way ,
but i loose docker
i get stucked when i enter docker info as root

can you guide me how to do it for arm
please guide thanks in advance.
can

ExecStart=/usr/bin/dockerd -H fd://
this is what i get by doing so.

Irrespective the X86 container isn’t going to run on Arm hardware.
You ever managed to start the container?

This is my first try on this device
armhf/hello-world is running

armhf/ might give you a clue.

True, I have tried all ways now loosing hope.
But yesterday I came across this topic please check and can you please suggest wether I can get it working on my oPi+2e with nextcloud with niginx, PHP 7.0, mariadb, redis.
Link
https://help.nextcloud.com/t/howto-install-onlineoffice-on-ubuntu-debian-no-docker-no-limitation/?source_topic_id=10355

Please guide.
Thanks for it guidance

Noticed you had checked this thread where the compilers are.

Even if you did have enough ram, you need quite a bit of knowledge to self compile.

So answer is no.