code: private static Properties overrideDockerPropertiesWithSystemProperties(Properties p, Properties systemProperties) {
          Properties overriddenProperties = new Properties();
          overriddenProperties.putAll(p);
  
          for (String key : CONFIG_KEYS) {
              if (systemProperties.containsKey(key)) {
                  overriddenProperties.setProperty(key, systemProperties.getProperty(key));
              }
          }
          return overriddenProperties;
      }
docs: Creates a new Properties object containing values overridden from the System properties
  
  @param p
  The original set of properties to override
  @return A copy of the original Properties with overridden values