1、修改docker服务启动配置文件
# vim /usr/lib/systemd/system/docker.service ... [Service] ... ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --default-ulimit nofile=65536:65536 #第13行 ...
2、重新加载配置
systemctl daemon-reload systemctl restart docker
参考:https://stackoverflow.com/questions/68776387/docker-library-initialization-failed-unable-to-allocate-file-descriptor-tabl