containerd运行报错failed to locate iptables
FATA[0000] failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: time=“2023-10-31T10:45:16Z” level=fatal msg=“failed to call cni.Setup: plugin type=“bridge” failed (add): failed to locate iptables: exec: “iptables”: executable file not found in $PATH” Failed to write to log, write /var/lib/nerdctl/1935db59/containers/default/564fab9f6e1bf0ece199473db0d4abbdbda7c44909ef 7ec08610dccb4ab0c657/oci-hook.createRuntime.log: file already closed: unknown 是因为containerd运行需要iptables插件 ubuntu新版的没有这个插件所以需要手动安装