AIO-RK3399安装docker后,无法启动
系统版本镜像:AIO-3399J-UBUNTU-18.04_DESKTOP-GPT-20211228-1640.img
使用命令: apt install docker.io 正常安装docker后,docker无法正常启动
使用命令:systemctl status docker 查看docker状态,报错:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-01-17 09:25:08 UTC; 1min 38s ago
Docs: https://docs.docker.com
Process: 17533 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 17533 (code=exited, status=1/FAILURE)
Jan 17 09:25:08 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:08 firefly systemd: docker.service: Scheduled restart job, restart counter is at 4.
Jan 17 09:25:08 firefly systemd: Stopped Docker Application Container Engine.
Jan 17 09:25:08 firefly systemd: docker.service: Start request repeated too quickly.
Jan 17 09:25:08 firefly systemd: docker.service: Failed with result 'exit-code'.
Jan 17 09:25:08 firefly systemd: Failed to start Docker Application Container Engine.
使用命令: journalctl -xe|grep docker 进一步查看信息
Jan 17 09:24:56 firefly groupadd: group added to /etc/group: name=docker, GID=115
Jan 17 09:24:56 firefly groupadd: group added to /etc/gshadow: name=docker
Jan 17 09:24:56 firefly groupadd: new group: name=docker, GID=115
-- Subject: Unit docker.socket has begun start-up
-- Unit docker.socket has begun starting up.
-- Subject: Unit docker.socket has finished start-up
-- Unit docker.socket has finished starting up.
-- Subject: Unit docker.service has begun start-up
-- Unit docker.service has begun starting up.
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.277183474Z" level=info msg="Starting up"
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.278701308Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.280742101Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.280847976Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.280939851Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.280986809Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.288644522Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.288763814Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.288868814Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.288935605Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.438640775Z" level=info msg="Loading containers: start."
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.447965363Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/4.4.194+\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/4.4.194+\n, error: exit status 1"
Jan 17 09:24:58 firefly dockerd: time="2022-01-17T09:24:58.459218953Z" level=warning msg="Running iptables --wait -t nat -L -n failed with message: `modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+\niptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.`, error: exit status 3"
Jan 17 09:24:58 firefly dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+
Jan 17 09:24:58 firefly dockerd: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Jan 17 09:24:58 firefly dockerd: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:24:58 firefly dockerd:(exit status 3)
Jan 17 09:24:58 firefly systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:24:58 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:25:00 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:00 firefly systemd: docker.service: Scheduled restart job, restart counter is at 1.
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
-- Subject: Unit docker.service has begun start-up
-- Unit docker.service has begun starting up.
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.977613662Z" level=info msg="Starting up"
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.978905454Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.980194913Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.980676747Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.981030539Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.981239080Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.984317624Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.984391999Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.984448874Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.984485041Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:25:00 firefly dockerd: time="2022-01-17T09:25:00.998326965Z" level=info msg=" using prior storage driver: overlay2"
Jan 17 09:25:01 firefly dockerd: time="2022-01-17T09:25:01.006455720Z" level=info msg="Loading containers: start."
Jan 17 09:25:01 firefly dockerd: time="2022-01-17T09:25:01.014896850Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/4.4.194+\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/4.4.194+\n, error: exit status 1"
Jan 17 09:25:01 firefly dockerd: time="2022-01-17T09:25:01.023357230Z" level=warning msg="Running iptables --wait -t nat -L -n failed with message: `modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+\niptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.`, error: exit status 3"
Jan 17 09:25:01 firefly dockerd: time="2022-01-17T09:25:01.249740779Z" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
Jan 17 09:25:01 firefly dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+
Jan 17 09:25:01 firefly dockerd: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Jan 17 09:25:01 firefly dockerd: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:25:01 firefly dockerd:(exit status 3)
Jan 17 09:25:01 firefly systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:25:01 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:25:03 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:03 firefly systemd: docker.service: Scheduled restart job, restart counter is at 2.
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
-- Subject: Unit docker.service has begun start-up
-- Unit docker.service has begun starting up.
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.472804255Z" level=info msg="Starting up"
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.474101881Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.475166757Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.475222173Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.475281673Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.475319007Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.479625176Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.479714134Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.479775384Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.479815926Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.495353019Z" level=info msg=" using prior storage driver: overlay2"
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.502836315Z" level=info msg="Loading containers: start."
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.511710278Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/4.4.194+\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/4.4.194+\n, error: exit status 1"
Jan 17 09:25:03 firefly dockerd: time="2022-01-17T09:25:03.520184075Z" level=warning msg="Running iptables --wait -t nat -L -n failed with message: `modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+\niptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.`, error: exit status 3"
Jan 17 09:25:03 firefly dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+
Jan 17 09:25:03 firefly dockerd: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Jan 17 09:25:03 firefly dockerd: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:25:03 firefly dockerd:(exit status 3)
Jan 17 09:25:03 firefly systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:25:03 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:25:05 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:05 firefly systemd: docker.service: Scheduled restart job, restart counter is at 3.
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
-- Subject: Unit docker.service has begun start-up
-- Unit docker.service has begun starting up.
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.956081323Z" level=info msg="Starting up"
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.957647866Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.959887284Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.959989075Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.960068117Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.960122950Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.964524495Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.964626286Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.964705328Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.964756370Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.979222920Z" level=info msg=" using prior storage driver: overlay2"
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.989123260Z" level=info msg="Loading containers: start."
Jan 17 09:25:05 firefly dockerd: time="2022-01-17T09:25:05.997246598Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/4.4.194+\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/4.4.194+\n, error: exit status 1"
Jan 17 09:25:06 firefly dockerd: time="2022-01-17T09:25:06.005892061Z" level=warning msg="Running iptables --wait -t nat -L -n failed with message: `modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+\niptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.`, error: exit status 3"
Jan 17 09:25:06 firefly dockerd: time="2022-01-17T09:25:06.250506542Z" level=error msg="Failed to get event" error="rpc error: code = Unavailable desc = transport is closing" module=libcontainerd namespace=moby
Jan 17 09:25:06 firefly dockerd: time="2022-01-17T09:25:06.250775459Z" level=info msg="Waiting for containerd to be ready to restart event processing" module=libcontainerd namespace=moby
Jan 17 09:25:06 firefly dockerd: time="2022-01-17T09:25:06.251005584Z" level=warning msg="Error while testing if containerd API is ready" error="rpc error: code = Canceled desc = grpc: the client connection is closing"
Jan 17 09:25:06 firefly dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+
Jan 17 09:25:06 firefly dockerd: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Jan 17 09:25:06 firefly dockerd: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:25:06 firefly dockerd:(exit status 3)
Jan 17 09:25:06 firefly systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:25:06 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:25:08 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:08 firefly systemd: docker.service: Scheduled restart job, restart counter is at 4.
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
Jan 17 09:25:08 firefly systemd: docker.service: Start request repeated too quickly.
Jan 17 09:25:08 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:25:08 firefly systemd: docker.socket: Failed with result 'service-start-limit-hit'.
-- Subject: Unit docker.socket has begun start-up
-- Unit docker.socket has begun starting up.
-- Subject: Unit docker.socket has finished start-up
-- Unit docker.socket has finished starting up.
-- Subject: Unit docker.service has begun start-up
-- Unit docker.service has begun starting up.
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.951472930Z" level=info msg="Starting up"
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.953025515Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.960236941Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.960322108Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.960438775Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.960506733Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.964679613Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.964737947Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.964793072Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.964822238Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.974326500Z" level=info msg=" using prior storage driver: overlay2"
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.982202385Z" level=info msg="Loading containers: start."
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.989926603Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/4.4.194+\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/4.4.194+\n, error: exit status 1"
Jan 17 09:28:36 firefly dockerd: time="2022-01-17T09:28:36.999718157Z" level=warning msg="Running iptables --wait -t nat -L -n failed with message: `modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+\niptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.`, error: exit status 3"
Jan 17 09:28:37 firefly dockerd: time="2022-01-17T09:28:37.234285865Z" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
Jan 17 09:28:37 firefly dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+
Jan 17 09:28:37 firefly dockerd: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Jan 17 09:28:37 firefly dockerd: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:28:37 firefly dockerd:(exit status 3)
Jan 17 09:28:37 firefly systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:28:37 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:28:39 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:28:39 firefly systemd: docker.service: Scheduled restart job, restart counter is at 1.
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
-- Subject: Unit docker.service has begun start-up
-- Unit docker.service has begun starting up.
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.461279432Z" level=info msg="Starting up"
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.462447850Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.466831772Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.467635606Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.468201149Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.468769608Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.474281823Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.474422115Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.474517490Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.474569115Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.486301421Z" level=info msg=" using prior storage driver: overlay2"
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.493067805Z" level=info msg="Loading containers: start."
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.502193775Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/4.4.194+\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/4.4.194+\n, error: exit status 1"
Jan 17 09:28:39 firefly dockerd: time="2022-01-17T09:28:39.512257162Z" level=warning msg="Running iptables --wait -t nat -L -n failed with message: `modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+\niptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.`, error: exit status 3"
Jan 17 09:28:39 firefly dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+
Jan 17 09:28:39 firefly dockerd: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Jan 17 09:28:39 firefly dockerd: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:28:39 firefly dockerd:(exit status 3)
Jan 17 09:28:39 firefly systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:28:39 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:28:41 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:28:41 firefly systemd: docker.service: Scheduled restart job, restart counter is at 2.
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
-- Subject: Unit docker.service has begun start-up
-- Unit docker.service has begun starting up.
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.973650743Z" level=info msg="Starting up"
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.974876619Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.conf"
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.976603288Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.976672997Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.976739205Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.976772747Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.980609918Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.980693043Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.980758377Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock<nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jan 17 09:28:41 firefly dockerd: time="2022-01-17T09:28:41.980795710Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jan 17 09:28:42 firefly dockerd: time="2022-01-17T09:28:42.000793193Z" level=info msg=" using prior storage driver: overlay2"
Jan 17 09:28:42 firefly dockerd: time="2022-01-17T09:28:42.011028956Z" level=info msg="Loading containers: start."
Jan 17 09:28:42 firefly dockerd: time="2022-01-17T09:28:42.026547976Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/4.4.194+\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/4.4.194+\n, error: exit status 1"
Jan 17 09:28:42 firefly dockerd: time="2022-01-17T09:28:42.043091997Z" level=warning msg="Running iptables --wait -t nat -L -n failed with message: `modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+\niptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.`, error: exit status 3"
Jan 17 09:28:42 firefly dockerd: time="2022-01-17T09:28:42.257712558Z" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
Jan 17 09:28:42 firefly dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194+
Jan 17 09:28:42 firefly dockerd: iptables v1.6.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Jan 17 09:28:42 firefly dockerd: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:28:42 firefly dockerd:(exit status 3)
Jan 17 09:28:42 firefly systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:28:42 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:28:44 firefly systemd: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:28:44 firefly systemd: docker.service: Scheduled restart job, restart counter is at 3.
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
Jan 17 09:28:44 firefly systemd: docker.service: Start request repeated too quickly.
Jan 17 09:28:44 firefly systemd: docker.service: Failed with result 'exit-code'.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Jan 17 09:28:44 firefly systemd: docker.socket: Failed with result 'service-start-limit-hit'.
发现缺少 ip_tables
请问,遇到这种情况,应该如何处理?是不是要更新内核?
好的我测试一下 是有这个问题,我看看怎么解决 你是用3399C这个板子吗,要更新内核才可以安装好docker 895816513 发表于 2022-1-20 17:03
你是用3399C这个板子吗,要更新内核才可以安装好docker
能发布一个官方更新了内核的版本吗? 895816513 发表于 2022-1-20 17:03
你是用3399C这个板子吗,要更新内核才可以安装好docker
AIO-RK3399J这块版 wjxfhxy 发表于 2022-1-21 09:38
能发布一个官方更新了内核的版本吗?
不好意思哈,因为之前是默认支持docker的,后来内核更新后没验证docker。
因为刚进行3399板子的批量更新,下次更新应该要等一两个月。但是你业务紧急,现在我在网盘单独上传了支持的docker的固件版本AIO-3399J-docker-UBUNTU18.04-GPT-20220121-1540.img.7z,感谢你的反馈,如果你遇到什么问题可以继续发帖找我。
https://www.t-firefly.com/doc/download/15.html#other_174
https://wiki.t-firefly.com/zh_CN/AIO-3399J/ubuntu_manual.html#she-bei-bu-shu-docker
设备部署 Docker
apt-get update
wget -qO- https://get.docker.com/ | sh
895816513 发表于 2022-1-21 15:55
不好意思哈,因为之前是默认支持docker的,后来内核更新后没验证docker。
因为刚进行3399板子的批量更新 ...
Firefly-RK33399也有同样的问题,可否也更新一下,固件版本:FIREFLY-RK3399-UBUNTU-20.04_DESKTOP-GPT-20211229-1333.img myw12321 发表于 2022-5-7 10:59
Firefly-RK33399也有同样的问题,可否也更新一下,固件版本:FIREFLY-RK3399-UBUNTU-20.04_DESKTOP-GPT-20 ...
用2022年之后的固件即可
页:
[1]