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