@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-05-25T18:24:00.669Z") @Stability(value=Stable) public interface DockerRunOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerRunOptions.Builder
A builder for
DockerRunOptions |
static class |
DockerRunOptions.Jsii$Proxy
An implementation for
DockerRunOptions |
| Modifier and Type | Method and Description |
|---|---|
static DockerRunOptions.Builder |
builder() |
default List<String> |
getCommand()
The command to run in the container.
|
default List<String> |
getEntrypoint()
The entrypoint to run in the container.
|
default Map<String,String> |
getEnvironment()
The environment variables to pass to the container.
|
default String |
getUser()
The user to use when running the container.
|
default List<DockerVolume> |
getVolumes()
Docker volumes to mount.
|
default String |
getWorkingDirectory()
Working directory inside the container.
|
@Stability(value=Stable) @Nullable default List<String> getCommand()
Default: - run the command defined in the image
@Stability(value=Stable) @Nullable default List<String> getEntrypoint()
Default: - run the entrypoint defined in the image
@Stability(value=Stable) @Nullable default Map<String,String> getEnvironment()
Default: - no environment variables.
@Stability(value=Stable) @Nullable default String getUser()
Default: - root or image default
@Stability(value=Stable) @Nullable default List<DockerVolume> getVolumes()
Default: - no volumes are mounted
@Stability(value=Stable) @Nullable default String getWorkingDirectory()
Default: - image default
@Stability(value=Stable) static DockerRunOptions.Builder builder()
DockerRunOptions.Builder of DockerRunOptionsCopyright © 2021. All rights reserved.