如何解决`Failed to create NAT chain DOCKER` as Reboot not working?

问题描述 投票:0回答:1

这是我的操作系统

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Docker版本

Docker version 20.10.5+dfsg1, build 55c4c88

Docker-compose

docker-compose version 1.25.3, build d4d1b42b

问题来了

我想按照此说明在我的服务器上安装 Docker 和

docker-compose
https://docs.docker.com/engine/install/debian/

但是,我无法统计 Docker,这是日志

奔跑

systemctl status docker.service

知道了

Mar 12 10:27:02 trigan4gb systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Mar 12 10:27:02 trigan4gb systemd[1]: Stopped Docker Application Container Engine.
Mar 12 10:27:02 trigan4gb systemd[1]: docker.service: Start request repeated too quickly.
Mar 12 10:27:02 trigan4gb systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 12 10:27:02 trigan4gb systemd[1]: Failed to start Docker Application Container Engine.

奔跑

dockerd

知道了

INFO[2023-03-12T10:32:11.180456435-04:00] stopping event stream following graceful shutdown  error="<nil>" module=libcontainerd namespace=moby
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: iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument

我试过了

Reboot
但是没用

linux docker docker-compose debian
1个回答
0
投票

当我跑步时:

apt update
apt upgrade

然后

reboot

又可以用了

© www.soinside.com 2019 - 2024. All rights reserved.