# Uses of Class
org.apache.storm.container.docker.DockerRunCommand

Packages that use DockerRunCommand
Package
Description
org.apache.storm.container.docker

- ## Uses of DockerRunCommand in org.apache.storm.container.docker

  Methods in org.apache.storm.container.docker that return DockerRunCommand
  Modifier and Type
  Method
  Description
  `DockerRunCommand`
  DockerRunCommand.`addAllReadOnlyMountLocations(List<String> paths)`
  Add all readonly locations.
  `DockerRunCommand`
  DockerRunCommand.`addAllReadOnlyMountLocations(List<String> paths, boolean createSource)`
  Add all readonly locations.
  `DockerRunCommand`
  DockerRunCommand.`addAllReadWriteMountLocations(List<String> paths)`
  Add all the rw bind mount locations.
  `DockerRunCommand`
  DockerRunCommand.`addAllReadWriteMountLocations(List<String> paths, boolean createSource)`
  Add all the rw bind mount locations.
  `DockerRunCommand`
  DockerRunCommand.`addCpuSetBindings(List<String> cores, String memoryNode)`
  `DockerRunCommand`
  DockerRunCommand.`addDevice(String sourceDevice, String destinationDevice)`
  Set --device option.
  `DockerRunCommand`
  DockerRunCommand.`addReadOnlyMountLocation(String sourcePath, String destinationPath)`
  Add readonly bind mout location.
  `DockerRunCommand`
  DockerRunCommand.`addReadOnlyMountLocation(String sourcePath, String destinationPath, boolean createSource)`
  Add readonly bind mount location.
  `DockerRunCommand`
  DockerRunCommand.`addReadWriteMountLocation(String sourcePath, String destinationPath)`
  `DockerRunCommand`
  DockerRunCommand.`addReadWriteMountLocation(String sourcePath, String destinationPath, boolean createSource)`
  Add bind mount locations.
  `DockerRunCommand`
  DockerRunCommand.`detachOnRun()`
  Add -d option.
  `DockerRunCommand`
  DockerRunCommand.`disableDetach()`
  Disable detach.
  `DockerRunCommand`
  DockerRunCommand.`enableDetach()`
  Enable detach.
  `DockerRunCommand`
  DockerRunCommand.`groupAdd(String[] groups)`
  Set --group-add option.
  `DockerRunCommand`
  DockerRunCommand.`removeContainerOnExit()`
  Add --rm option.
  `DockerRunCommand`
  DockerRunCommand.`setCapabilities(Set<String> capabilities)`
  Set capabilities of the container.
  `DockerRunCommand`
  DockerRunCommand.`setCGroupParent(String parentPath)`
  Set --cgroup-parent option.
  `DockerRunCommand`
  DockerRunCommand.`setCidFile(String cidFile)`
  Set the output container id file location.
  `DockerRunCommand`
  DockerRunCommand.`setContainerWorkDir(String workdir)`
  Set --workdir option.
  `DockerRunCommand`
  DockerRunCommand.`setCpus(double cpus)`
  Set the number of cpus to use.
  `DockerRunCommand`
  DockerRunCommand.`setCpuShares(int cpuShares)`
  Set cpuShares.
  `DockerRunCommand`
  DockerRunCommand.`setMemoryMb(int memoryMb)`
  Set the number of memory in MB to use.
  `DockerRunCommand`
  DockerRunCommand.`setNetworkType(String type)`
  Set --net option.
  `DockerRunCommand`
  DockerRunCommand.`setNoNewPrivileges()`
  Set no-new-privileges option.
  `DockerRunCommand`
  DockerRunCommand.`setOverrideCommandWithArgs(List<String> overrideCommandWithArgs)`
  Set extra commands and args.
  `DockerRunCommand`
  DockerRunCommand.`setPrivileged()`
  Set --privileged option to run a privileged container.
  `DockerRunCommand`
  DockerRunCommand.`setReadonly()`
  Add --read-only option.
  `DockerRunCommand`
  DockerRunCommand.`setSeccompProfile(String jsonPath)`
  Set --security-opt option.