public String getEntryPoint() {
        if (!json.has(PROCESS_CONFIG)) {
            return null;
        }

        JsonObject processConfig = json.getAsJsonObject(PROCESS_CONFIG);
        if (!processConfig.has(ENTRY_POINT)) {
            return null;
        }

        return processConfig.get(ENTRY_POINT).getAsString();
    }
Model class holding details of the result of an exec command on a running container.
src/main/java/io/fabric8/maven/docker/model/ExecDetails.java