Interface ContainerSpec
@Immutable
public interface ContainerSpec
-
Method Details
-
image
String image() -
hostname
String hostname()- Returns:
- an optional hostname
- Since:
- API 1.26
-
labels
-
command
-
args
-
env
-
dir
String dir() -
user
String user() -
groups
-
tty
Boolean tty() -
mounts
-
stopGracePeriod
Long stopGracePeriod() -
healthcheck
ContainerConfig.Healthcheck healthcheck()- Returns:
- an optional healthcheck
- Since:
- API 1.26
-
hosts
- Returns:
- a lits of hosts
- Since:
- API 1.26
-
secrets
List<SecretBind> secrets()- Returns:
- a list of secrets
- Since:
- API 1.26
-
configs
List<ConfigBind> configs()- Returns:
- a list of configs
- Since:
- API 1.30
-
dnsConfig
DnsConfig dnsConfig() -
sysctls
-
init
Boolean init()- Returns:
- a init property in container specification
- Since:
- 1.37
-
builder
-