maxxedev commented on code in PR #1323:
URL: https://github.com/apache/commons-lang/pull/1323#discussion_r1864167179


##########
src/main/java/org/apache/commons/lang3/RuntimeEnvironment.java:
##########
@@ -76,6 +79,9 @@ static Boolean inDocker() {
      */
     // Could be public at a later time.
     static Boolean inPodman() {
+        if (Files.exists(Paths.get("/run/.containerenv"))) {

Review Comment:
   see https://docs.podman.io/en/stable/markdown/podman-run.1.html
   >  a container environment file is created in each container to indicate to 
programs they are running in a container. This file is located at 
/run/.containerenv (or /var/run/.containerenv for FreeBSD containers).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to