docker 启动
systemctl start docker
# 失败
查看原因 journalctl -xeu docker
4月 29 17:57:42 a03 dockerd[55315]: time="2024-04-29T17:57:42.491144216+08:00" level=info msg="Starting up"
4月 29 17:57:42 a03 dockerd[55315]: time="2024-04-29T17:57:42.663912885+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
4月 29 17:57:42 a03 dockerd[55315]: time="2024-04-29T17:57:42.666735660+08:00" level=info msg="Loading containers: start."
4月 29 17:57:42 a03 dockerd[55315]: time="2024-04-29T17:57:42.688730867+08:00" level=warning msg="failed to find iptables" error="exec: \"iptables\": executable file not found in $PATH"
4月 29 17:57:42 a03 dockerd[55315]: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DOCKER: iptables not found
4月 29 17:57:42 a03 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
4月 29 17:57:42 a03 systemd[1]: Failed to start Docker Application Container Engine.
# 安装 iptables
yum install iptables-services
# 执行iptables, 发现没有
# 然后 启动docker 还是失败
# 发现有个xtables-multi ,这个是一坨大杂烩,建立一个软链,就好了
cd /sbin
ln -s xtables-multi iptables
标签:iptables,multi,17,xtables,a03,57,42,29 From: https://www.cnblogs.com/fadedlemon/p/18166462