View Source DockerEngineAPI.Model.HostConfig (testcontainers v1.11.6)
Container configuration that depends on the host we are running on
Summary
Types
@type t() :: %DockerEngineAPI.Model.HostConfig{ Annotations: %{optional(String.t()) => String.t()} | nil, AutoRemove: boolean() | nil, Binds: [String.t()] | nil, BlkioDeviceReadBps: [DockerEngineAPI.Model.ThrottleDevice.t()] | nil, BlkioDeviceReadIOps: [DockerEngineAPI.Model.ThrottleDevice.t()] | nil, BlkioDeviceWriteBps: [DockerEngineAPI.Model.ThrottleDevice.t()] | nil, BlkioDeviceWriteIOps: [DockerEngineAPI.Model.ThrottleDevice.t()] | nil, BlkioWeight: integer() | nil, BlkioWeightDevice: [DockerEngineAPI.Model.ResourcesBlkioWeightDeviceInner.t()] | nil, CapAdd: [String.t()] | nil, CapDrop: [String.t()] | nil, Cgroup: String.t() | nil, CgroupParent: String.t() | nil, CgroupnsMode: String.t() | nil, ConsoleSize: [integer()] | nil, ContainerIDFile: String.t() | nil, CpuCount: integer() | nil, CpuPercent: integer() | nil, CpuPeriod: integer() | nil, CpuQuota: integer() | nil, CpuRealtimePeriod: integer() | nil, CpuRealtimeRuntime: integer() | nil, CpuShares: integer() | nil, CpusetCpus: String.t() | nil, CpusetMems: String.t() | nil, DeviceCgroupRules: [String.t()] | nil, DeviceRequests: [DockerEngineAPI.Model.DeviceRequest.t()] | nil, Devices: [DockerEngineAPI.Model.DeviceMapping.t()] | nil, Dns: [String.t()] | nil, DnsOptions: [String.t()] | nil, DnsSearch: [String.t()] | nil, ExtraHosts: [String.t()] | nil, GroupAdd: [String.t()] | nil, IOMaximumBandwidth: integer() | nil, IOMaximumIOps: integer() | nil, Init: boolean() | nil, IpcMode: String.t() | nil, Isolation: String.t() | nil, KernelMemoryTCP: integer() | nil, Links: [String.t()] | nil, LogConfig: DockerEngineAPI.Model.HostConfigAllOfLogConfig.t() | nil, MaskedPaths: [String.t()] | nil, Memory: integer() | nil, MemoryReservation: integer() | nil, MemorySwap: integer() | nil, MemorySwappiness: integer() | nil, Mounts: [DockerEngineAPI.Model.Mount.t()] | nil, NanoCpus: integer() | nil, NetworkMode: String.t() | nil, OomKillDisable: boolean() | nil, OomScoreAdj: integer() | nil, PidMode: String.t() | nil, PidsLimit: integer() | nil, PortBindings: %{optional(String.t()) => [DockerEngineAPI.Model.PortBinding.t()]} | nil, Privileged: boolean() | nil, PublishAllPorts: boolean() | nil, ReadonlyPaths: [String.t()] | nil, ReadonlyRootfs: boolean() | nil, RestartPolicy: DockerEngineAPI.Model.RestartPolicy.t() | nil, Runtime: String.t() | nil, SecurityOpt: [String.t()] | nil, ShmSize: integer() | nil, StorageOpt: %{optional(String.t()) => String.t()} | nil, Sysctls: %{optional(String.t()) => String.t()} | nil, Tmpfs: %{optional(String.t()) => String.t()} | nil, UTSMode: String.t() | nil, Ulimits: [DockerEngineAPI.Model.ResourcesUlimitsInner.t()] | nil, UsernsMode: String.t() | nil, VolumeDriver: String.t() | nil, VolumesFrom: [String.t()] | nil }