public static String getUserHome() {
        String homeDir = getEnv("HOME");
        if (homeDir == null) {
            homeDir =  getProperty("user.home");
        }
        return homeDir;
    }
Get User's HOME directory path
@return a String value for user's home directory
src/main/java/io/fabric8/maven/docker/util/EnvUtil.java