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, getCommandOption
public DockerRmCommand(String containerName)
public DockerRmCommand withForce()
public String getCommandWithArguments()
Get the full command.
getCommandWithArguments
in class DockerCommand
Copyright © 2022 The Apache Software Foundation. All rights reserved.