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, getCommandOption
public DockerExecCommand(String containerName)
public DockerExecCommand addExecCommand(List<String> commandInContainer)
commandInContainer
- the command to run from inside containerpublic String getCommandWithArguments()
getCommandWithArguments
in class DockerCommand
Copyright © 2023 The Apache Software Foundation. All rights reserved.