docker容器在uos-12038.101上启动报错

报错内容
library initialization failed - unable to allocate file descriptor table - out of memorylibrary initialization failed - unable to allocate file descriptor table - out of memorylibrary initialization failed - unable to allocate file descriptor table
解决办法
在 /etc/systemd/system/ 或者 /usr/lib/systemd/system/
找到 docker.service 文件,在 ExecStart=/usr/bin/dockerd 后面添加 --default-ulimit nofile=65536:65536 参数

systemctl daemon-reload

systemctl restart docker

posted @ 2024-03-01 08:45  整天就会哈哈哈  阅读(41)  评论(0编辑  收藏  举报