docker启动容器故障1
启动容器报错
docker logs 容器名称
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 - out of memory
解决方法:
容器启动配置ulimit,具体配置如下
yaml
servicename:
...
ulimits:
nofile:
soft: "65535"
hard: "65535"