Skip to content

Latest commit

 

History

History
88 lines (78 loc) · 5.22 KB

HostConfig.md

File metadata and controls

88 lines (78 loc) · 5.22 KB

HostConfig

Here, "non-portable" means "dependent of the host we are running on". Portable information should appear in Config.

Properties

Name Type Description Notes
annotations Map<String, String> [optional]
autoRemove Boolean [optional]
binds List<String> Applicable to all platforms [optional]
blkioDeviceReadBps List<ThrottleDevice> [optional]
blkioDeviceReadIOps List<ThrottleDevice> [optional]
blkioDeviceWriteBps List<ThrottleDevice> [optional]
blkioDeviceWriteIOps List<ThrottleDevice> [optional]
blkioWeight Integer [optional]
blkioWeightDevice List<WeightDevice> [optional]
capAdd List<String> We need to override the json decoder to accept both options. [optional]
capDrop List<String> We need to override the json decoder to accept both options. [optional]
cgroup String [optional]
cgroupParent String Applicable to UNIX platforms [optional]
cgroupnsMode String CgroupnsMode represents the cgroup namespace mode of the container [optional]
consoleSize List<Integer> [optional]
containerIDFile String [optional]
cpuCount Long Applicable to Windows [optional]
cpuPercent Long [optional]
cpuPeriod Long [optional]
cpuQuota Long [optional]
cpuRealtimePeriod Long [optional]
cpuRealtimeRuntime Long [optional]
cpuShares Long Applicable to all platforms [optional]
cpusetCpus String [optional]
cpusetMems String [optional]
deviceCgroupRules List<String> [optional]
deviceRequests List<DeviceRequest> [optional]
devices List<DeviceMapping> [optional]
dns List<String> [optional]
dnsOptions List<String> [optional]
dnsSearch List<String> [optional]
extraHosts List<String> [optional]
groupAdd List<String> [optional]
ioMaximumBandwidth Integer [optional]
ioMaximumIOps Integer [optional]
init Boolean Run a custom init inside the container, if null, use the daemon's configured settings [optional]
ipcMode String [optional]
isolation String Isolation represents the isolation technology of a container. The supported values are platform specific [optional]
kernelMemory Long KernelMemory specifies the kernel memory limit (in bytes) for the container. Deprecated: kernel 5.4 deprecated kmem.limit_in_bytes. [optional]
kernelMemoryTCP Long [optional]
links List<String> [optional]
logConfig LogConfig [optional]
maskedPaths List<String> MaskedPaths is the list of paths to be masked inside the container (this overrides the default set of paths) [optional]
memory Long [optional]
memoryReservation Long [optional]
memorySwap Long [optional]
memorySwappiness Long [optional]
mounts List<Mount> Mounts specs used by the container [optional]
nanoCpus Long [optional]
networkMode String [optional]
oomKillDisable Boolean [optional]
oomScoreAdj Long [optional]
pidMode String [optional]
pidsLimit Long [optional]
portBindings Map<String, List<@Valid PortBinding>> PortMap is a collection of PortBinding indexed by Port [optional]
privileged Boolean [optional]
publishAllPorts Boolean [optional]
readonlyPaths List<String> ReadonlyPaths is the list of paths to be set as read-only inside the container (this overrides the default set of paths) [optional]
readonlyRootfs Boolean [optional]
restartPolicy RestartPolicy [optional]
runtime String [optional]
securityOpt List<String> [optional]
shmSize Long [optional]
storageOpt Map<String, String> [optional]
sysctls Map<String, String> [optional]
tmpfs Map<String, String> [optional]
utSMode String [optional]
ulimits List<Ulimit> [optional]
usernsMode String [optional]
volumeDriver String [optional]
volumesFrom List<String> [optional]

Implemented Interfaces

  • Serializable