public class RunImageConfiguration extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
RunImageConfiguration.RunImageConfigurationBuilder |
| Modifier and Type | Field and Description |
|---|---|
static RunImageConfiguration |
DEFAULT |
| Constructor and Description |
|---|
RunImageConfiguration() |
RunImageConfiguration(Map<String,String> env,
Map<String,String> labels,
String envPropertyFile,
Arguments cmd,
String domainname,
List<String> dependsOn,
Arguments entrypoint,
String hostname,
String user,
String workingDir,
Long shmSize,
Long memory,
Long memorySwap,
String portPropertyFile,
String net,
NetworkConfig network,
List<String> dns,
List<String> dnsSearch,
List<String> capAdd,
List<String> capDrop,
List<String> securityOpts,
Boolean privileged,
List<String> extraHosts,
Long cpuShares,
Long cpus,
String cpuSet,
List<String> ports,
String containerNamePattern,
String exposedPropertyKey,
RunVolumeConfiguration volumes,
List<String> links,
WaitConfiguration wait,
List<String> tmpfs,
LogConfiguration log,
RestartPolicy restartPolicy,
List<UlimitConfig> ulimits,
Boolean skip,
String imagePullPolicy,
Boolean readOnly,
Boolean autoRemove) |
| Modifier and Type | Method and Description |
|---|---|
static RunImageConfiguration.RunImageConfigurationBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Boolean |
getAutoRemove()
Automatically remove the container when it exists.
|
List<String> |
getCapAdd() |
List<String> |
getCapDrop() |
Arguments |
getCmd()
Command to execute in container.
|
String |
getContainerNamePattern()
A pattern to define the naming of the container where:
%a for the "alias" mode
%n for the image name
%t for a timestamp
%i for an increasing index of container names
|
Long |
getCpus() |
String |
getCpuSet() |
Long |
getCpuShares() |
List<String> |
getDependsOn()
Custom networks are available since API 1.21 (Docker 1.9).
|
List<String> |
getDns() |
List<String> |
getDnsSearch() |
String |
getDomainname()
Container domain name.
|
Arguments |
getEntrypoint()
Container entry point.
|
Map<String,String> |
getEnv()
Environment variables to set when starting the container.
|
String |
getEnvPropertyFile()
Path to a property file holding environment variables.
|
String |
getExposedPropertyKey()
Property key part used to expose the container ip when running.
|
List<String> |
getExtraHosts() |
String |
getHostname()
Container hostname.
|
String |
getImagePullPolicy()
Policy for pulling the image to start
|
Map<String,String> |
getLabels() |
List<String> |
getLinks() |
LogConfiguration |
getLog() |
Long |
getMemory()
Memory in bytes.
|
Long |
getMemorySwap()
Total memory (swap + ram) in bytes, -1 to disable.
|
String |
getNet()
For simple network setups.
|
NetworkConfig |
getNetwork() |
NetworkConfig |
getNetworkingConfig() |
String |
getPortPropertyFile()
Path to a file where the dynamically mapped properties are written to.
|
List<String> |
getPorts() |
Boolean |
getPrivileged() |
Boolean |
getReadOnly()
Mount the container's root filesystem as read only.
|
RestartPolicy |
getRestartPolicy() |
List<String> |
getSecurityOpts() |
Long |
getShmSize()
Size of /dev/shm in bytes.
|
Boolean |
getSkip() |
List<String> |
getTmpfs()
Mountpath for tmps.
|
List<UlimitConfig> |
getUlimits() |
String |
getUser()
Container user.
|
RunVolumeConfiguration |
getVolumeConfiguration() |
RunVolumeConfiguration |
getVolumes()
Mount volumes from the given image's started containers.
|
WaitConfiguration |
getWait()
Configuration for how to wait during startup of the container.
|
String |
getWorkingDir()
Working directory.
|
int |
hashCode() |
String |
initAndValidate() |
boolean |
isDefault() |
boolean |
skip() |
RunImageConfiguration.RunImageConfigurationBuilder |
toBuilder() |
public static final RunImageConfiguration DEFAULT
public RunImageConfiguration(Map<String,String> env, Map<String,String> labels, String envPropertyFile, Arguments cmd, String domainname, List<String> dependsOn, Arguments entrypoint, String hostname, String user, String workingDir, Long shmSize, Long memory, Long memorySwap, String portPropertyFile, String net, NetworkConfig network, List<String> dns, List<String> dnsSearch, List<String> capAdd, List<String> capDrop, List<String> securityOpts, Boolean privileged, List<String> extraHosts, Long cpuShares, Long cpus, String cpuSet, List<String> ports, String containerNamePattern, String exposedPropertyKey, RunVolumeConfiguration volumes, List<String> links, WaitConfiguration wait, List<String> tmpfs, LogConfiguration log, RestartPolicy restartPolicy, List<UlimitConfig> ulimits, Boolean skip, String imagePullPolicy, Boolean readOnly, Boolean autoRemove)
public RunImageConfiguration()
public boolean isDefault()
public String initAndValidate()
@Nonnull public List<String> getDependsOn()
public NetworkConfig getNetworkingConfig()
public RunVolumeConfiguration getVolumeConfiguration()
public RestartPolicy getRestartPolicy()
public boolean skip()
public static RunImageConfiguration.RunImageConfigurationBuilder builder()
public RunImageConfiguration.RunImageConfigurationBuilder toBuilder()
public Map<String,String> getEnv()
public String getEnvPropertyFile()
public Arguments getCmd()
public String getDomainname()
public Arguments getEntrypoint()
public String getHostname()
public String getUser()
public String getWorkingDir()
public Long getShmSize()
public Long getMemory()
public Long getMemorySwap()
public String getPortPropertyFile()
public String getNet()
public NetworkConfig getNetwork()
public Boolean getPrivileged()
public Long getCpuShares()
public Long getCpus()
public String getCpuSet()
public String getContainerNamePattern()
public String getExposedPropertyKey()
public RunVolumeConfiguration getVolumes()
public WaitConfiguration getWait()
public LogConfiguration getLog()
public List<UlimitConfig> getUlimits()
public Boolean getSkip()
public String getImagePullPolicy()
public Boolean getReadOnly()
public Boolean getAutoRemove()
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.