public class DockerRmCommand extends DockerCommand
Encapsulates the docker rm command and its command line arguments.
| Constructor and Description |
|---|
DockerRmCommand(String containerName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandWithArguments()
Get the full command.
|
DockerRmCommand |
withForce() |
addCommandArguments, getCommandOptionpublic DockerRmCommand(String containerName)
public DockerRmCommand withForce()
public String getCommandWithArguments()
Get the full command.
getCommandWithArguments in class DockerCommandCopyright © 2021 The Apache Software Foundation. All rights reserved.