在archlinux的vps尝试运行docker镜像的时候,遇到dockerd启动报错如下
⚡ dockerd
INFO[2025-10-14T22:51:17.484208923+08:00] Starting up
INFO[2025-10-14T22:51:17.486160872+08:00] OTEL tracing is not configured, using no-op tracer provider
INFO[2025-10-14T22:51:17.486374800+08:00] CDI directory does not exist, skipping: failed to monitor for changes: no such file or directory dir=/etc/cdi
INFO[2025-10-14T22:51:17.486533432+08:00] CDI directory does not exist, skipping: failed to monitor for changes: no such file or directory dir=/var/run/cdi
INFO[2025-10-14T22:51:17.501490966+08:00] Creating a containerd client address=/run/containerd/containerd.sock timeout=1m0s
ERRO[2025-10-14T22:51:17.507256842+08:00] failed to mount overlay: no such device storage-driver=overlay2
ERRO[2025-10-14T22:51:17.507555814+08:00] exec: "fuse-overlayfs": executable file not found in $PATH storage-driver=fuse-overlayfs
INFO[2025-10-14T22:51:17.507941776+08:00] Loading containers: start.
WARN[2025-10-14T22:51:17.510342380+08:00] Could not load necessary modules for IPSEC rules: protocol not supported
ERRO[2025-10-14T22:51:17.513621290+08:00] Failed to create bridge docker0 via netlink error="operation not supported"
failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
问ai给的解决方案无外乎围绕安装fuse-overlay和内核模块以及防火墙是iptables还是nft,
但是docker的守护进程不该这么麻烦。
最后的成功解决只需要:
1,更新系统(主要是内核)
2,重启,重启后才能支持dockerd需要的模块