code: private static Properties overrideDockerPropertiesWithSettingsFromUserHome(Properties p, Properties systemProperties) {
          Properties overriddenProperties = new Properties();
          overriddenProperties.putAll(p);
  
          final File usersDockerPropertiesFile = new File(systemProperties.getProperty("user.home"),
                  "." + DOCKER_JAVA_PROPERTIES);
          if (usersDockerPropertiesFile.isFile()) {
              try (FileInputStream in = new FileInputStream(usersDockerPropertiesFile)) {
                  overriddenProperties.load(in);
              } catch (IOException e) {
                  throw new RuntimeException(e);
              }
          }
          return overriddenProperties;
      }
docs: Creates a new Properties object containing values overridden from ${user.home}/.docker.io.properties
  
  @param p
  The original set of properties to override
  @return A copy of the original Properties with overridden values