Hi All,
I'm using i.MX6 SabreSD Quad core for my platform and using Ubuntu 16.04 as my OS system.
I tried to start my docker and I get below message when I execute "sudo dockerd"
user@arm:~$ sudo dockerd
INFO[2019-04-22T09:36:40.982964073Z] libcontainerd: started new containerd process pid=2713
INFO[2019-04-22T09:36:40.984467353Z] parsed scheme: "unix" module=grpc
INFO[2019-04-22T09:36:40.984654346Z] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2019-04-22T09:36:40.985227659Z] ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] module=grpc
INFO[2019-04-22T09:36:40.985422318Z] ClientConn switching balancer to "pick_first" module=grpc
INFO[2019-04-22T09:36:40.986043963Z] pickfirstBalancer: HandleSubConnStateChange: 0x351e140, CONNECTING module=grpc
INFO[2019-04-22T09:36:41.087486396Z] starting containerd revision=9754871865f7fe2f4e74d43e2fc7ccd237edcbce version=v1.2.2
INFO[2019-04-22T09:36:41.089626655Z] loading plugin "io.containerd.content.v1.content"... type=io.containerd.content.v1
INFO[2019-04-22T09:36:41.089869313Z] loading plugin "io.containerd.snapshotter.v1.btrfs"... type=io.containerd.snapshotter.v1
WARN[2019-04-22T09:36:41.090760948Z] failed to load plugin io.containerd.snapshotter.v1.btrfs error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
INFO[2019-04-22T09:36:41.090973274Z] loading plugin "io.containerd.snapshotter.v1.aufs"... type=io.containerd.snapshotter.v1
WARN[2019-04-22T09:36:41.098525344Z] failed to load plugin io.containerd.snapshotter.v1.aufs error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.1.15-1.2.0+gd2fb5c8\n": exit status 1"
INFO[2019-04-22T09:36:41.098751669Z] loading plugin "io.containerd.snapshotter.v1.native"... type=io.containerd.snapshotter.v1
INFO[2019-04-22T09:36:41.099021660Z] loading plugin "io.containerd.snapshotter.v1.overlayfs"... type=io.containerd.snapshotter.v1
INFO[2019-04-22T09:36:41.099605639Z] loading plugin "io.containerd.snapshotter.v1.zfs"... type=io.containerd.snapshotter.v1
WARN[2019-04-22T09:36:41.100547606Z] 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 filesystem to be used with the zfs snapshotter"
INFO[2019-04-22T09:36:41.100778265Z] loading plugin "io.containerd.metadata.v1.bolt"... type=io.containerd.metadata.v1
WARN[2019-04-22T09:36:41.100948925Z] could not use snapshotter btrfs in metadata plugin error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
WARN[2019-04-22T09:36:41.101067588Z] could not use snapshotter aufs in metadata plugin error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.1.15-1.2.0+gd2fb5c8\n": exit status 1"
WARN[2019-04-22T09:36:41.101182584Z] could not use snapshotter zfs in metadata plugin error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter"
INFO[2019-04-22T09:36:41.101821228Z] loading plugin "io.containerd.differ.v1.walking"... type=io.containerd.differ.v1
INFO[2019-04-22T09:36:41.102037887Z] loading plugin "io.containerd.gc.v1.scheduler"... type=io.containerd.gc.v1
INFO[2019-04-22T09:36:41.102469872Z] loading plugin "io.containerd.service.v1.containers-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.102700198Z] loading plugin "io.containerd.service.v1.content-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.102902857Z] loading plugin "io.containerd.service.v1.diff-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.103088184Z] loading plugin "io.containerd.service.v1.images-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.103254178Z] loading plugin "io.containerd.service.v1.leases-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.103416173Z] loading plugin "io.containerd.service.v1.namespaces-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.103600833Z] loading plugin "io.containerd.service.v1.snapshots-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.103760827Z] loading plugin "io.containerd.runtime.v1.linux"... type=io.containerd.runtime.v1
INFO[2019-04-22T09:36:41.104308475Z] loading plugin "io.containerd.runtime.v2.task"... type=io.containerd.runtime.v2
INFO[2019-04-22T09:36:41.104670129Z] loading plugin "io.containerd.monitor.v1.cgroups"... type=io.containerd.monitor.v1
INFO[2019-04-22T09:36:41.107982680Z] loading plugin "io.containerd.service.v1.tasks-service"... type=io.containerd.service.v1
INFO[2019-04-22T09:36:41.108452996Z] loading plugin "io.containerd.internal.v1.restart"... type=io.containerd.internal.v1
INFO[2019-04-22T09:36:41.108811651Z] loading plugin "io.containerd.grpc.v1.containers"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.109011977Z] loading plugin "io.containerd.grpc.v1.content"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.109176971Z] loading plugin "io.containerd.grpc.v1.diff"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.109335299Z] loading plugin "io.containerd.grpc.v1.events"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.109479627Z] loading plugin "io.containerd.grpc.v1.healthcheck"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.109629289Z] loading plugin "io.containerd.grpc.v1.images"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.109774617Z] loading plugin "io.containerd.grpc.v1.leases"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.109917612Z] loading plugin "io.containerd.grpc.v1.namespaces"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.110068273Z] loading plugin "io.containerd.internal.v1.opt"... type=io.containerd.internal.v1
INFO[2019-04-22T09:36:41.110423594Z] loading plugin "io.containerd.grpc.v1.snapshots"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.110598255Z] loading plugin "io.containerd.grpc.v1.tasks"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.110837580Z] loading plugin "io.containerd.grpc.v1.version"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.111064572Z] loading plugin "io.containerd.grpc.v1.introspection"... type=io.containerd.grpc.v1
INFO[2019-04-22T09:36:41.112084869Z] serving... address="/var/run/docker/containerd/containerd-debug.sock"
INFO[2019-04-22T09:36:41.112684182Z] serving... address="/var/run/docker/containerd/containerd.sock"
INFO[2019-04-22T09:36:41.113662814Z] pickfirstBalancer: HandleSubConnStateChange: 0x351e140, READY module=grpc
INFO[2019-04-22T09:36:41.114069467Z] containerd successfully booted in 0.028634s
INFO[2019-04-22T09:36:41.168984547Z] parsed scheme: "unix" module=grpc
INFO[2019-04-22T09:36:41.169339868Z] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2019-04-22T09:36:41.169761853Z] parsed scheme: "unix" module=grpc
INFO[2019-04-22T09:36:41.169884515Z] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2019-04-22T09:36:41.170492494Z] ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] module=grpc
INFO[2019-04-22T09:36:41.171176803Z] ClientConn switching balancer to "pick_first" module=grpc
INFO[2019-04-22T09:36:41.171678786Z] pickfirstBalancer: HandleSubConnStateChange: 0x351e410, CONNECTING module=grpc
INFO[2019-04-22T09:36:41.171004143Z] ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] module=grpc
INFO[2019-04-22T09:36:41.174966338Z] ClientConn switching balancer to "pick_first" module=grpc
INFO[2019-04-22T09:36:41.176828606Z] pickfirstBalancer: HandleSubConnStateChange: 0x3a90450, CONNECTING module=grpc
INFO[2019-04-22T09:36:41.176983934Z] pickfirstBalancer: HandleSubConnStateChange: 0x351e410, READY module=grpc
INFO[2019-04-22T09:36:41.179556177Z] pickfirstBalancer: HandleSubConnStateChange: 0x3a90450, READY module=grpc
INFO[2019-04-22T09:36:41.186359939Z] [graphdriver] using prior storage driver: overlay2
WARN[2019-04-22T09:36:42.019886477Z] Unable to find cpu cgroup in mounts
WARN[2019-04-22T09:36:42.020066138Z] Your kernel does not support cgroup blkio weight
WARN[2019-04-22T09:36:42.020161801Z] Your kernel does not support cgroup blkio weight_device
WARN[2019-04-22T09:36:42.020246798Z] Your kernel does not support cgroup blkio throttle.read_bps_device
WARN[2019-04-22T09:36:42.020334462Z] Your kernel does not support cgroup blkio throttle.write_bps_device
WARN[2019-04-22T09:36:42.020419126Z] Your kernel does not support cgroup blkio throttle.read_iops_device
WARN[2019-04-22T09:36:42.020505790Z] Your kernel does not support cgroup blkio throttle.write_iops_device
WARN[2019-04-22T09:36:42.021359094Z] mountpoint for pids not found
INFO[2019-04-22T09:36:42.023823343Z] Loading containers: start.
ERRO[2019-04-22T09:36:42.380450206Z] could not get initial namespace: no such file or directory
WARN[2019-04-22T09:36:42.393898414Z] Could not load necessary modules for IPSEC rules: Running modprobe xfrm_user failed with message: `modprobe: WARNING: Module xfrm_user not found in directory /lib/modules/4.1.15-1.2.0+gd2fb5c8`, error: exit status 1
ERRO[2019-04-22T09:36:42.413158426Z] failed to set to initial namespace, readlink /proc/2703/task/2728/ns/net: no such file or directory, initns fd -1: bad file descriptor
INFO[2019-04-22T09:36:42.414039062Z] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address
ERRO[2019-04-22T09:36:42.414804036Z] failed to set to initial namespace, readlink /proc/2703/task/2728/ns/net: no such file or directory, initns fd -1: bad file descriptor
INFO[2019-04-22T09:36:42.516026925Z] stopping event stream following graceful shutdown error="<nil>" module=libcontainerd namespace=moby
INFO[2019-04-22T09:36:42.517949859Z] stopping healthcheck following graceful shutdown module=libcontainerd
INFO[2019-04-22T09:36:42.518112520Z] stopping event stream following graceful shutdown error="context canceled" module=libcontainerd namespace=plugins.moby
INFO[2019-04-22T09:36:42.519835462Z] pickfirstBalancer: HandleSubConnStateChange: 0x3a90450, TRANSIENT_FAILURE module=grpc
INFO[2019-04-22T09:36:42.520435774Z] pickfirstBalancer: HandleSubConnStateChange: 0x3a90450, CONNECTING module=grpc
failed to start daemon: Error initializing network controller: Error creating default "bridge" network: Failed to program NAT chain: Failed to inject DOCKER in PREROUTING chain: iptables failed: iptables --wait -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: iptables: No chain/target/match by that name.
(exit status 1)
Can anyone help me with this problem?
Thanks in Advanced!
The error you are getting (no target by that name) means that iptables module does not know such target as DOCKER.
As far as I know initially it has ACCEPT, DROP and RETURN targets.
And perhaps you need to use updated iptables module for docker.
I mean docker may have some extencions for iptables.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------