Package | Description |
---|---|
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker |
Package containing classes related to Docker commands and common operations
used within the @{link DockerLinuxContainerRuntime}.
|
Modifier and Type | Class and Description |
---|---|
class |
DockerExecCommand
Encapsulates the docker exec command and its command
line arguments.
|
class |
DockerImagesCommand
Encapsulates the docker images command and its command
line arguments.
|
class |
DockerInspectCommand
Encapsulates the docker inspect command and its command
line arguments.
|
class |
DockerKillCommand
Encapsulates the docker kill command and its command line arguments.
|
class |
DockerLoadCommand |
class |
DockerPullCommand
Encapsulates the docker pull command and its command
line arguments.
|
class |
DockerRmCommand
Encapsulates the docker rm command and its command
line arguments.
|
class |
DockerRunCommand |
class |
DockerStartCommand
Encapsulates the docker start command and its command line arguments.
|
class |
DockerStopCommand
Encapsulates the docker stop command and its command
line arguments.
|
class |
DockerVolumeCommand
Docker Volume Command, run "docker volume --help" for more details.
|
Modifier and Type | Method and Description |
---|---|
static String |
DockerCommandExecutor.executeDockerCommand(DockerCommand dockerCommand,
String containerId,
Map<String,String> env,
PrivilegedOperationExecutor privilegedOperationExecutor,
boolean disableFailureLogging,
Context nmContext)
Execute a docker command and return the output.
|
PrivilegedOperation |
DockerRmCommand.preparePrivilegedOperation(DockerCommand dockerCommand,
String containerName,
Map<String,String> env,
Context nmContext) |
PrivilegedOperation |
DockerCommand.preparePrivilegedOperation(DockerCommand dockerCommand,
String containerName,
Map<String,String> env,
Context nmContext)
Prepare the privileged operation object that will be used to invoke
the container-executor.
|
PrivilegedOperation |
DockerInspectCommand.preparePrivilegedOperation(DockerCommand dockerCommand,
String containerName,
Map<String,String> env,
Context nmContext) |
String |
DockerClient.writeCommandToTempFile(DockerCommand cmd,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
Context nmContext) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.