[ https://issues.apache.org/jira/browse/SOLR-16774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17717517#comment-17717517 ]
Jan Høydahl commented on SOLR-16774: ------------------------------------ Sorry, you are correct. It is related to SOLR-16665, but it is on purpose. We kept Solr's base image on Ubuntu 20.x until v9.2 for max back-compat with older docker engines. But as noted in upgrade notes [https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#docker] for 9.2 we now use Ubuntu 22. Older docker engines are not compatible with such new Linux versions. I think we could add a sentence to the upgrade notes and say that "Solr docker image now requires Docker engine v20.10.10. So if you upgrade your docker to 20.10.10 you should be fine. This is thus not a bug but an undocumented requirement. > 9.2 Docker image broken > ----------------------- > > Key: SOLR-16774 > URL: https://issues.apache.org/jira/browse/SOLR-16774 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Ishan Chattopadhyaya > Priority: Major > > I'm on Fedora 37. Docker version 20.10.3. > Trying to run 9.2 docker image: > {code:java} > docker run -it --name solr1 -h solr1 solr:9.2.0 /opt/solr/bin/solr -c > -f{code} > runs into errors: > {code:java} > Java not found, or an error was encountered when running java. > A working Java 11 JRE is required to run Solr! > Please install latest version of Java 11 or set JAVA_HOME properly. > Command that we tried: '/opt/java/openjdk/bin/java -version', with response: > [0.012s][warning][os,thread] Failed to start thread "GC Thread#0" - > pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: > 4k, detached. > # > # There is insufficient memory for the Java Runtime Environment to continue. > # Cannot create worker GC thread. Out of system resources. > # An error report file with more information is saved as: > # /tmp/hs_err_pid20.logDebug information: > JAVA_HOME: /opt/java/openjdk > Active Path: > /opt/solr/bin:/opt/solr/docker/scripts:/opt/solr/prometheus-exporter/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin{code} > > All 8x, 9.0, 9.1 docker images running properly. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org