DockerRunCommand extends DockerCommand { @Override public Map<String, List<String>> getDockerCommandWithArguments() { return super.getDockerCommandWithArguments(); } DockerRunCommand(String containerId, String user, String image); DockerRunCommand removeContainerOnExit(); DockerRunCommand detachOnRun(); DockerRunCommand setContainerWorkDir(String workdir); DockerRunCommand setNetworkType(String type); DockerRunCommand setPidNamespace(String type); DockerRunCommand addMountLocation(String sourcePath, String
      destinationPath, String mode); DockerRunCommand addReadWriteMountLocation(String sourcePath, String
      destinationPath); DockerRunCommand addAllReadWriteMountLocations(List<String> paths); DockerRunCommand addReadOnlyMountLocation(String sourcePath, String
      destinationPath, boolean createSource); DockerRunCommand addReadOnlyMountLocation(String sourcePath, String
      destinationPath); DockerRunCommand addAllReadOnlyMountLocations(List<String> paths); DockerRunCommand addTmpfsMount(String mount); DockerRunCommand setVolumeDriver(String volumeDriver); DockerRunCommand setCGroupParent(String parentPath); DockerRunCommand setPrivileged(); DockerRunCommand setCapabilities(Set<String> capabilties); DockerRunCommand setHostname(String hostname); DockerRunCommand addDevice(String sourceDevice, String
      destinationDevice); DockerRunCommand enableDetach(); DockerRunCommand disableDetach(); DockerRunCommand addPortsMapping(String mapping); DockerRunCommand addRuntime(String runtime); DockerRunCommand groupAdd(String[] groups); DockerRunCommand setOverrideCommandWithArgs(
      List<String> overrideCommandWithArgs); @Override Map<String, List<String>> getDockerCommandWithArguments(); DockerRunCommand setOverrideDisabled(boolean toggle); DockerRunCommand setLogDir(String logDir); DockerRunCommand setServiceMode(boolean serviceMode); boolean containsEnv(); Map<String, String> getEnv(); final void addEnv(Map<String, String> environment); DockerRunCommand setYarnSysFS(boolean toggle);  }
@Test public void testSetClientConfigDir() { dockerRunCommand.setClientConfigDir(CLIENT_CONFIG_PATH); assertEquals(CLIENT_CONFIG_PATH, StringUtils.join(",", dockerRunCommand.getDockerCommandWithArguments().get("docker-config"))); }