昨天升级我的系统后,我试图重新启动我的 docker 容器。我正在运行一个sbt(scala 构建工具)容器。不幸的是,它停止工作,出现以下错误
library initialization failed - unable to allocate file descriptor table - out of memory/usr/share/sbt/bin/sbt-launch-lib.bash: line 46: 76 Aborted (core dumped) "$@"
Run Code Online (Sandbox Code Playgroud)
然后我发现我 dockerized 的任何 Java 应用程序都停止工作了。所以我尝试运行一个简单的 tomcat。结果如下(在底部剪下,因为它有数百行[Too many errors, abort]
docker run -it --rm tomcat:8.0
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /docker-java-home/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
library initialization failed - unable to allocate file descriptor table - out of memory#
# A fatal error has been detected by the …Run Code Online (Sandbox Code Playgroud)