umiddelb / z2d

Zero 2 Docker with Ubuntu Core, Debian 9, Devuan, Fedora 28 or CentOS 7
144 stars 37 forks source link

For Pine64 Ubuntu docker run fails #12

Closed fnpc closed 8 years ago

fnpc commented 8 years ago

Error: oci runtime error: could not synchronise with container process: could not create session key: function not implemented

root@p64:/# ./usr/share/docker.io/contrib/check-config.sh info: reading kernel config from /proc/config.gz ... Generally Necessary:

Optional Features:

root@p64:/# docker info Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 2 Server Version: 1.11.2 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 17 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: null host bridge Kernel Version: 3.10.102 Operating System: Ubuntu 16.04.1 LTS OSType: linux Architecture: aarch64 CPUs: 4 Total Memory: 978.4 MiB Name: p64 ID: VVDN:3AG3:UGJD:3PDX:7PML:72KL:PYVY:6FKL:HXY3:E72D:IZEJ:ZCUG Docker Root Dir: /var/lib/docker Debug mode (client): false Debug mode (server): false Registry: https://index.docker.io/v1/

umiddelb commented 8 years ago

Hi,

you may provide some more context information about this case, e.g. the Linux Distribution you are using and the output of docker version.

I guess that you have build Docker 1.12 from source. In this case you'll get not a single binary but a whole bunch which have to be moved to /usr/bin, this layout is working for me:

ubuntu@c2:~$ ls -l /usr/bin/docker*
lrwxrwxrwx 1 root root       17 Aug 30 08:16 /usr/bin/docker -> docker-1.12.0-dev
-rwxr-xr-x 1 root root 33188272 Apr 21 02:17 /usr/bin/docker-1.10.3
-rwxr-xr-x 1 root root 34140016 Jul  8 01:06 /usr/bin/docker-1.11.2
-rwxr-xr-x 1 root root 14985680 Jul 10 22:17 /usr/bin/docker-1.12.0-dev
-rwxr-xr-x 1 root root 10846824 Jul 10 22:18 /usr/bin/docker-containerd
-rwxr-xr-x 1 root root 10147856 Jul 10 22:18 /usr/bin/docker-containerd-ctr
-rwxr-xr-x 1 root root  3591288 Jul 10 22:18 /usr/bin/docker-containerd-shim
lrwxrwxrwx 1 root root       18 Aug 30 00:36 /usr/bin/dockerd -> dockerd-1.12.0-dev
-rwxr-xr-x 1 root root 44245464 Jul 10 22:19 /usr/bin/dockerd-1.12.0-dev
lrwxrwxrwx 1 root root       23 Aug 30 00:36 /usr/bin/docker-proxy -> docker-proxy-1.12.0-dev
-rwxr-xr-x 1 root root  2989578 Jul 10 22:19 /usr/bin/docker-proxy-1.12.0-dev
-rwxr-xr-x 1 root root  8477664 Jul 10 22:19 /usr/bin/docker-runc