|
【Linux】
AIO-RK3399安装docker后,无法启动
发表于 2022-1-17 17:32:23
浏览:6826
|
回复:8
打印
只看该作者
[复制链接]
楼主
系统版本镜像:
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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:08 firefly systemd[1]: docker.service: Scheduled restart job, restart counter is at 4.
Jan 17 09:25:08 firefly systemd[1]: Stopped Docker Application Container Engine.
Jan 17 09:25:08 firefly systemd[1]: docker.service: Start request repeated too quickly.
Jan 17 09:25:08 firefly systemd[1]: docker.service: Failed with result 'exit-code'.
Jan 17 09:25:08 firefly systemd[1]: Failed to start Docker Application Container Engine.
使用命令: journalctl -xe|grep docker 进一步查看信息
Jan 17 09:24:56 firefly groupadd[16985]: group added to /etc/group: name=docker, GID=115
Jan 17 09:24:56 firefly groupadd[16985]: group added to /etc/gshadow: name=docker
Jan 17 09:24:56 firefly groupadd[16985]: 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[17147]: time="2022-01-17T09:24:58.277183474Z" level=info msg="Starting up"
Jan 17 09:24:58 firefly dockerd[17147]: 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[17147]: time="2022-01-17T09:24:58.280742101Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:24:58 firefly dockerd[17147]: 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[17147]: 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[17147]: 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[17147]: time="2022-01-17T09:24:58.288644522Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:24:58 firefly dockerd[17147]: 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[17147]: 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[17147]: 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[17147]: time="2022-01-17T09:24:58.438640775Z" level=info msg="Loading containers: start."
Jan 17 09:24:58 firefly dockerd[17147]: 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[17147]: 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[17147]: 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[17147]: 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[17147]: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:24:58 firefly dockerd[17147]: (exit status 3)
Jan 17 09:24:58 firefly systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:24:58 firefly systemd[1]: 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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:00 firefly systemd[1]: 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[17296]: time="2022-01-17T09:25:00.977613662Z" level=info msg="Starting up"
Jan 17 09:25:00 firefly dockerd[17296]: 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[17296]: time="2022-01-17T09:25:00.980194913Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:00 firefly dockerd[17296]: 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[17296]: 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[17296]: 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[17296]: time="2022-01-17T09:25:00.984317624Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:00 firefly dockerd[17296]: 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[17296]: 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[17296]: 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[17296]: time="2022-01-17T09:25:00.998326965Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Jan 17 09:25:01 firefly dockerd[17296]: time="2022-01-17T09:25:01.006455720Z" level=info msg="Loading containers: start."
Jan 17 09:25:01 firefly dockerd[17296]: 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[17296]: 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[17296]: 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[17296]: 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[17296]: 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[17296]: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:25:01 firefly dockerd[17296]: (exit status 3)
Jan 17 09:25:01 firefly systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:25:01 firefly systemd[1]: 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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:03 firefly systemd[1]: 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[17399]: time="2022-01-17T09:25:03.472804255Z" level=info msg="Starting up"
Jan 17 09:25:03 firefly dockerd[17399]: 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[17399]: time="2022-01-17T09:25:03.475166757Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:03 firefly dockerd[17399]: 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[17399]: 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[17399]: 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[17399]: time="2022-01-17T09:25:03.479625176Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:03 firefly dockerd[17399]: 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[17399]: 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[17399]: 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[17399]: time="2022-01-17T09:25:03.495353019Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Jan 17 09:25:03 firefly dockerd[17399]: time="2022-01-17T09:25:03.502836315Z" level=info msg="Loading containers: start."
Jan 17 09:25:03 firefly dockerd[17399]: 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[17399]: 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[17399]: 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[17399]: 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[17399]: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:25:03 firefly dockerd[17399]: (exit status 3)
Jan 17 09:25:03 firefly systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:25:03 firefly systemd[1]: 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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:05 firefly systemd[1]: 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[17533]: time="2022-01-17T09:25:05.956081323Z" level=info msg="Starting up"
Jan 17 09:25:05 firefly dockerd[17533]: 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[17533]: time="2022-01-17T09:25:05.959887284Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:05 firefly dockerd[17533]: 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[17533]: 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[17533]: 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[17533]: time="2022-01-17T09:25:05.964524495Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:25:05 firefly dockerd[17533]: 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[17533]: 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[17533]: 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[17533]: time="2022-01-17T09:25:05.979222920Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Jan 17 09:25:05 firefly dockerd[17533]: time="2022-01-17T09:25:05.989123260Z" level=info msg="Loading containers: start."
Jan 17 09:25:05 firefly dockerd[17533]: 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[17533]: 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[17533]: 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[17533]: 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[17533]: 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[17533]: 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[17533]: 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[17533]: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:25:06 firefly dockerd[17533]: (exit status 3)
Jan 17 09:25:06 firefly systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:25:06 firefly systemd[1]: 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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:25:08 firefly systemd[1]: 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[1]: docker.service: Start request repeated too quickly.
Jan 17 09:25:08 firefly systemd[1]: 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[1]: 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[22321]: time="2022-01-17T09:28:36.951472930Z" level=info msg="Starting up"
Jan 17 09:28:36 firefly dockerd[22321]: 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[22321]: time="2022-01-17T09:28:36.960236941Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:36 firefly dockerd[22321]: 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[22321]: 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[22321]: 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[22321]: time="2022-01-17T09:28:36.964679613Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:36 firefly dockerd[22321]: 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[22321]: 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[22321]: 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[22321]: time="2022-01-17T09:28:36.974326500Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Jan 17 09:28:36 firefly dockerd[22321]: time="2022-01-17T09:28:36.982202385Z" level=info msg="Loading containers: start."
Jan 17 09:28:36 firefly dockerd[22321]: 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[22321]: 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[22321]: 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[22321]: 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[22321]: 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[22321]: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:28:37 firefly dockerd[22321]: (exit status 3)
Jan 17 09:28:37 firefly systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:28:37 firefly systemd[1]: 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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:28:39 firefly systemd[1]: 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[22435]: time="2022-01-17T09:28:39.461279432Z" level=info msg="Starting up"
Jan 17 09:28:39 firefly dockerd[22435]: 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[22435]: time="2022-01-17T09:28:39.466831772Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:39 firefly dockerd[22435]: 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[22435]: 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[22435]: 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[22435]: time="2022-01-17T09:28:39.474281823Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:39 firefly dockerd[22435]: 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[22435]: 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[22435]: 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[22435]: time="2022-01-17T09:28:39.486301421Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Jan 17 09:28:39 firefly dockerd[22435]: time="2022-01-17T09:28:39.493067805Z" level=info msg="Loading containers: start."
Jan 17 09:28:39 firefly dockerd[22435]: 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[22435]: 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[22435]: 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[22435]: 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[22435]: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:28:39 firefly dockerd[22435]: (exit status 3)
Jan 17 09:28:39 firefly systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:28:39 firefly systemd[1]: 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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:28:41 firefly systemd[1]: 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[22542]: time="2022-01-17T09:28:41.973650743Z" level=info msg="Starting up"
Jan 17 09:28:41 firefly dockerd[22542]: 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[22542]: time="2022-01-17T09:28:41.976603288Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:41 firefly dockerd[22542]: 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[22542]: 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[22542]: 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[22542]: time="2022-01-17T09:28:41.980609918Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jan 17 09:28:41 firefly dockerd[22542]: 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[22542]: 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[22542]: 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[22542]: time="2022-01-17T09:28:42.000793193Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Jan 17 09:28:42 firefly dockerd[22542]: time="2022-01-17T09:28:42.011028956Z" level=info msg="Loading containers: start."
Jan 17 09:28:42 firefly dockerd[22542]: 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[22542]: 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[22542]: 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[22542]: 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[22542]: 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[22542]: Perhaps iptables or your kernel needs to be upgraded.
Jan 17 09:28:42 firefly dockerd[22542]: (exit status 3)
Jan 17 09:28:42 firefly systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 09:28:42 firefly systemd[1]: 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[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 17 09:28:44 firefly systemd[1]: 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[1]: docker.service: Start request repeated too quickly.
Jan 17 09:28:44 firefly systemd[1]: 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[1]: docker.socket: Failed with result 'service-start-limit-hit'.
发现缺少 ip_tables
请问,遇到这种情况,应该如何处理?是不是要更新内核?
|
|