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