public class DockerExecCommand extends DockerCommand
| Constructor and Description |
|---|
DockerExecCommand(String containerName) |
| Modifier and Type | Method and Description |
|---|---|
DockerExecCommand |
addExecCommand(List<String> commandInContainer)
Add the command to run from inside container.
|
String |
getCommandWithArguments()
Get the full command.
|
addCommandArguments, getCommandOptionpublic DockerExecCommand(String containerName)
public DockerExecCommand addExecCommand(List<String> commandInContainer)
commandInContainer - the command to run from inside containerpublic String getCommandWithArguments()
getCommandWithArguments in class DockerCommandCopyright © 2023 The Apache Software Foundation. All rights reserved.