xu4 emmc docker

Post Reply
storms
Posts: 1
Joined: Mon Jan 14, 2019 6:16 am
languages_spoken: english
Contact:

xu4 emmc docker

Unread post by storms » Mon Jan 14, 2019 6:51 pm

Hey guys.
So i have been banging my head against the wall for the past 3 days now, getting desperate.
I cant for the life of me get docker to work.
it installs fine but the service cant talk to the daemon for some reason..
so what i've tried

sudo apt-get install docker-ce | same problem
sudo apt-get install docker.io | same problem
curl getdocker....| sh |same problem
followed this script: https://gist.github.com/kikitux/33018db ... 44cfa5a787
but the btrfs gives erros, so i changed it to devicemapper still not working.

oh and all of this was done on a freshly installed ubuntu 18.04 on the eMMc.
please help :c

so i ran sudo dockerd --debug
and on another terminal did sudo docker run -ti hello-world
error from dockerd:

Code: Select all

DEBU[2019-01-14T10:01:42.684295132Z] Listener created for HTTP on unix (/var/run/docker.sock)
INFO[2019-01-14T10:01:42.690627927Z] libcontainerd: started new docker-containerd process  pid=1234
INFO[2019-01-14T10:01:42.690905925Z] parsed scheme: "unix"                         module=grpc
INFO[2019-01-14T10:01:42.690996008Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2019-01-14T10:01:42.691614712Z] ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/docker-containerd.sock 0  <nil>}]  module
INFO[2019-01-14T10:01:42.691714795Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2019-01-14T10:01:42.692024752Z] pickfirstBalancer: HandleSubConnStateChange: 0x134fd460, CONNECTING  module=grpc
INFO[0000] starting containerd                           revision= version=docker-18.06.1-ce
DEBU[0000] changing OOM score to -500
INFO[0000] loading plugin "io.containerd.content.v1.content"...  type=io.containerd.content.v1
INFO[0000] loading plugin "io.containerd.snapshotter.v1.btrfs"...  type=io.containerd.snapshotter.v1
WARN[0000] failed to load plugin io.containerd.snapshotter.v1.btrfs  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a bt
system to be used with the btrfs snapshotter"
INFO[0000] loading plugin "io.containerd.snapshotter.v1.aufs"...  type=io.containerd.snapshotter.v1
WARN[0000] failed to load plugin io.containerd.snapshotter.v1.aufs  error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules
-153\n": exit status 1"
INFO[0000] loading plugin "io.containerd.snapshotter.v1.native"...  type=io.containerd.snapshotter.v1
INFO[0000] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  type=io.containerd.snapshotter.v1
INFO[0000] loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.containerd.snapshotter.v1
WARN[0000] failed to load plugin io.containerd.snapshotter.v1.zfs  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs fi
 to be used with the zfs snapshotter"
INFO[0000] loading plugin "io.containerd.metadata.v1.bolt"...  type=io.containerd.metadata.v1
WARN[0000] could not use snapshotter btrfs in metadata plugin  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs fi
 to be used with the btrfs snapshotter"
WARN[0000] could not use snapshotter aufs in metadata plugin  error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.14.
": exit status 1"
WARN[0000] could not use snapshotter zfs in metadata plugin  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesyst
 used with the zfs snapshotter"
INFO[0000] loading plugin "io.containerd.differ.v1.walking"...  type=io.containerd.differ.v1
INFO[0000] loading plugin "io.containerd.gc.v1.scheduler"...  type=io.containerd.gc.v1
INFO[0000] loading plugin "io.containerd.service.v1.containers-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.service.v1.content-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.service.v1.diff-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.service.v1.images-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.service.v1.leases-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.service.v1.namespaces-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.service.v1.snapshots-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.monitor.v1.cgroups"...  type=io.containerd.monitor.v1
INFO[0000] loading plugin "io.containerd.runtime.v1.linux"...  type=io.containerd.runtime.v1
INFO[0000] loading plugin "io.containerd.service.v1.tasks-service"...  type=io.containerd.service.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.containers"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.content"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.diff"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.events"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.healthcheck"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.images"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.leases"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.namespaces"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.snapshots"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.tasks"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.version"...  type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.introspection"...  type=io.containerd.grpc.v1
INFO[0000] serving...                                    address="/var/run/docker/containerd/docker-containerd-debug.sock"
INFO[0000] serving...                                    address="/var/run/docker/containerd/docker-containerd.sock"
INFO[0000] containerd successfully booted in 0.022333s
INFO[2019-01-14T10:01:42.793713471Z] pickfirstBalancer: HandleSubConnStateChange: 0x134fd460, READY  module=grpc
DEBU[2019-01-14T10:01:42.827999139Z] Rolling back open transaction: TransactionID=1 hash= device_id=1  storage-driver=devicemapper
ERRO[2019-01-14T10:01:42.828133930Z] Unable to delete device: devicemapper: Can't set task name /dev/mapper/docker-179:2-787557-pool  storage-driver=devicemapper
WARN[2019-01-14T10:01:42.828475553Z] Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man d
to refer to dm.thinpooldev section.  storage-driver=devicemapper
DEBU[2019-01-14T10:01:42.828612844Z] Failed to read /var/lib/docker/devicemapper/metadata/base with err: open /var/lib/docker/devicemapper/metadata/base: no such
directory  storage-driver=devicemapper
DEBU[2019-01-14T10:01:42.828717510Z] Initializing base device-mapper thin volume   storage-driver=devicemapper
DEBU[2019-01-14T10:01:42.828652511Z] Worker to cleanup deleted devices started     storage-driver=devicemapper
DEBU[2019-01-14T10:01:42.835100138Z] devicemapper: CreateDevice(poolName=/dev/mapper/docker-179:2-787557-pool, deviceID=1)
DEBU[2019-01-14T10:01:42.835282429Z] Error creating device: devicemapper: Can't set task name /dev/mapper/docker-179:2-787557-pool  storage-driver=devicemapper
DEBU[2019-01-14T10:01:42.835363553Z] Error device setupBaseImage: devicemapper: Can't set task name /dev/mapper/docker-179:2-787557-pool  storage-driver=devicemap
ERRO[2019-01-14T10:01:42.835422678Z] [graphdriver] prior storage driver devicemapper failed: devicemapper: Can't set task name /dev/mapper/docker-179:2-787557-poo
DEBU[2019-01-14T10:01:42.836192548Z] Cleaning up old mountid : start.
Error starting daemon: error initializing graphdriver: devicemapper: Can't set task name /dev/mapper/docker-179:2-787557-pool
uname -r
4.14.87-153
uname -a
Linux odroid 4.14.87-153 #1 SMP PREEMPT Tue Dec 11 11:33:18 -02 2018 armv7l armv7l armv7l GNU/Linux

User avatar
tobetter
Posts: 2820
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Contact:

Re: xu4 emmc docker

Unread post by tobetter » Fri Jan 25, 2019 1:01 pm

Would you try to run this script if kernel configuration meets the Docker requirements?
https://github.com/moby/moby/blob/maste ... -config.sh

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 2 guests