Class RuntimeEnvironment

java.lang.Object
org.apache.commons.lang3.RuntimeEnvironment

public class RuntimeEnvironment extends Object
Helps query the runtime environment.
Since:
3.15.0
  • Constructor Details

  • Method Details

    • inContainer

      public static Boolean inContainer()
      Tests whether we are running in a container like Docker or Podman.
      Returns:
      whether we are running in a container like Docker or Podman.