NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

dtarin's avatar
dtarin
Luminary
May 23, 2021

OS 6.10.5 - Cannot install application Docker CE CLI

Hi, my system updgraded from 6.10.4 to 6.10.5.  

 

Suddenly docker will not start and I'm not able to reinstall it by installing docker CLI.  

 

How do we get docker up and running again?  Downgrade back to 6.10.4?

19 Replies

Replies have been turned off for this discussion
  • Some more info.. docker is insstalled on my ReadyNas as it was running prior to the 6.10.5 upgrade. 

     

    The current docker version on my ReadyNas is:

    ~$ docker -v cli
    
    Docker version 18.06.3-ce, build d7080c1

    If I check to see what docker processes are running I get:

    ~$ sudo docker ps
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

    So, ok, I try to restart the docker daemon.  This is the output.  Looks like just warning messages but the daemon fails to start. 

    ~$ sudo dockerd
    INFO[2021-05-23T15:34:55.573724143-04:00] libcontainerd: started new docker-containerd process  pid=13506
    INFO[2021-05-23T15:34:55.573831909-04:00] parsed scheme: "unix"                         module=grpc
    INFO[2021-05-23T15:34:55.573850243-04:00] scheme "unix" not registered, fallback to default scheme  module=grpc
    INFO[2021-05-23T15:34:55.573907989-04:00] ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/docker-containerd.sock 0  <nil>}]  module=grpc
    INFO[2021-05-23T15:34:55.573952021-04:00] ClientConn switching balancer to "pick_first"  module=grpc
    INFO[2021-05-23T15:34:55.574017910-04:00] pickfirstBalancer: HandleSubConnStateChange: 0xc420232e60, CONNECTING  module=grpc
    INFO[0000] starting containerd                           revision=468a545b9edcd5932818eb9de8e72413e616e86e version=v1.1.2
    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
    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.\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 filesystem 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 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"
    WARN[0000] could not use snapshotter aufs in metadata plugin  error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found.\n": exit status 1"
    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.014265s  
    INFO[2021-05-23T15:34:55.858793524-04:00] pickfirstBalancer: HandleSubConnStateChange: 0xc420232e60, READY  module=grpc
    INFO[2021-05-23T15:34:55.860185324-04:00] parsed scheme: "unix"                         module=grpc
    INFO[2021-05-23T15:34:55.860219138-04:00] scheme "unix" not registered, fallback to default scheme  module=grpc
    INFO[2021-05-23T15:34:55.860275628-04:00] ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/docker-containerd.sock 0  <nil>}]  module=grpc
    INFO[2021-05-23T15:34:55.860291888-04:00] ClientConn switching balancer to "pick_first"  module=grpc
    INFO[2021-05-23T15:34:55.860347505-04:00] pickfirstBalancer: HandleSubConnStateChange: 0xc420415520, CONNECTING  module=grpc
    INFO[2021-05-23T15:34:55.860495505-04:00] pickfirstBalancer: HandleSubConnStateChange: 0xc420415520, READY  module=grpc
    INFO[2021-05-23T15:34:56.102589943-04:00] Graph migration to content-addressability took 0.00 seconds 
    INFO[2021-05-23T15:34:56.103260606-04:00] parsed scheme: "unix"                         module=grpc
    INFO[2021-05-23T15:34:56.103290818-04:00] scheme "unix" not registered, fallback to default scheme  module=grpc
    INFO[2021-05-23T15:34:56.103348282-04:00] ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/docker-containerd.sock 0  <nil>}]  module=grpc
    INFO[2021-05-23T15:34:56.103363187-04:00] ClientConn switching balancer to "pick_first"  module=grpc
    INFO[2021-05-23T15:34:56.103413855-04:00] pickfirstBalancer: HandleSubConnStateChange: 0xc420415ee0, CONNECTING  module=grpc
    INFO[2021-05-23T15:34:56.104026868-04:00] pickfirstBalancer: HandleSubConnStateChange: 0xc420415ee0, READY  module=grpc
    INFO[2021-05-23T15:34:56.104103367-04:00] Loading containers: start.                   
    WARN[2021-05-23T15:34:56.105518628-04:00] Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x55b0683d20f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/802/stp.ko error=No such file or directory
    modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x55b0683d20f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/802/stp.ko error=No such file or directory
    modprobe: ERROR: could not insert 'bridge': Unknown symbol in module, or unknown parameter (see dmesg)
    modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x55b0683d20f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/bridge/bridge.ko error=No such file or directory
    modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x55b0683d20f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/bridge/bridge.ko error=No such file or directory
    modprobe: ERROR: could not insert 'br_netfilter': Unknown symbol in module, or unknown parameter (see dmesg)
    insmod /lib/modules/4.4.218.x86_64.1/kernel/net/bridge/bridge.ko 
    insmod /lib/modules/4.4.218.x86_64.1/kernel/net/bridge/br_netfilter.ko 
    , error: exit status 1 
    WARN[2021-05-23T15:34:56.106402435-04:00] Running modprobe nf_nat failed with message: `modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x5587a2e200f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/netfilter/nf_conntrack.ko error=No such file or directory
    modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x5587a2e200f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/netfilter/nf_conntrack.ko error=No such file or directory
    modprobe: ERROR: could not insert 'nf_nat': Unknown symbol in module, or unknown parameter (see dmesg)
    insmod /lib/modules/4.4.218.x86_64.1/kernel/net/netfilter/nf_nat.ko`, error: exit status 1 
    WARN[2021-05-23T15:34:56.107088932-04:00] Running modprobe xt_conntrack failed with message: `modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x5567df6fd0f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/netfilter/nf_conntrack.ko error=No such file or directory
    modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x5567df6fd0f0 path=/lib/modules/4.4.218.x86_64.1/kernel/net/netfilter/nf_conntrack.ko error=No such file or directory
    modprobe: ERROR: could not insert 'xt_conntrack': Unknown symbol in module, or unknown parameter (see dmesg)
    insmod /lib/modules/4.4.218.x86_64.1/kernel/net/netfilter/xt_conntrack.ko`, error: exit status 1 
    Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
     (exit status 3)

    Thoughts? 

     

     

  •  

    I tried running the docker daemon 

    $ sudo dockerd

    But it fails when tyring to load up iptables module.  

    Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
     (exit status 3)

    Any thoughts on how to correct this?  

  • I'm bit by this as well.  I tried to remove and reinstall via command line and get the following:

     

    The following packages have unmet dependencies:
    docker-cli-rnapp : Depends: linux-image-extra but it is not going to be installed
    Depends: docker-ce (>= 17.09.0~ce-0~debian) but it is not installable

    • captain_rgb's avatar
      captain_rgb
      Aspirant

      Hi there

       

      I've got the same problem here, I've tried everything but nothing works to reinstall Docker on the NAS.

      I hope they'll fix it soon or give us a workaround. It's a shame, Docker is always used and known to be compatible with nearly everything.

       

      Cheers,

       

      Louis

    • rhpot1991's avatar
      rhpot1991
      Guide

      Update on my efforts.  Adding Docker to 6.10.5 via the pre-build DEB or adding the Docker source both fail.

       

      I was able to roll back to 6.10.4 and install docker-ce again.  It failed via the web interface so I had to use apt and guide the system through the installation issues.  Plymouth keeps failing but appears to not be needed, portainer is failing to install afterwards so I manually installed the latest via docker command.

       

      Another thing to watch out for, removing the old docker-ce removed my storage so I'm starting over on all my docker containers.

      • dtarin's avatar
        dtarin
        Luminary

        Did you have to restore your data from backup after the 6.10.4 downgrade or was it a simple flash of the 6.10.4 firmware? 

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More