public class DockerKillCommand extends DockerCommand
Constructor and Description |
---|
DockerKillCommand(String containerName) |
Modifier and Type | Method and Description |
---|---|
DockerKillCommand |
setSignal(String signal)
Set the signal for the
DockerKillCommand . |
addCommandArguments, getCommandOption, getDockerCommandWithArguments, preparePrivilegedOperation, setClientConfigDir, toString
public DockerKillCommand(String containerName)
public DockerKillCommand setSignal(String signal)
DockerKillCommand
.signal
- the signal to send to the container.DockerKillCommand
with the signal set.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.