Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.13 KB

Config.md

File metadata and controls

42 lines (32 loc) · 2.13 KB

Config

It should hold only portable information about the container. Here, "portable" means "independent from the host we are running on". Non-portable information should appear in HostConfig. All fields added to this struct must be marked omitempty to keep getting predictable hashes from the old v1Compatibility configuration.

Properties

Name Type Description Notes
argsEscaped Boolean [optional]
attachStderr Boolean [optional]
attachStdin Boolean [optional]
attachStdout Boolean [optional]
cmd List<String> We need to override the json decoder to accept both options. [optional]
domainname String [optional]
entrypoint List<String> We need to override the json decoder to accept both options. [optional]
env List<String> [optional]
exposedPorts Map<String, Object> PortSet is a collection of structs indexed by Port [optional]
healthcheck HealthcheckConfig [optional]
hostname String [optional]
image String [optional]
labels Map<String, String> [optional]
macAddress String Mac Address of the container. Deprecated: this field is deprecated since API v1.44. Use EndpointSettings.MacAddress instead. [optional]
networkDisabled Boolean [optional]
onBuild List<String> [optional]
openStdin Boolean [optional]
shell List<String> We need to override the json decoder to accept both options. [optional]
stdinOnce Boolean [optional]
stopSignal String [optional]
stopTimeout Long [optional]
tty Boolean [optional]
user String [optional]
volumes Map<String, Object> [optional]
workingDir String [optional]

Implemented Interfaces

  • Serializable