View Source DockerEngineAPI.Model.Resources (docker_engine_api v1.43.0)

A container's resources (cgroups config, ulimits, etc)

Summary

Types

@type t() :: %DockerEngineAPI.Model.Resources{
  BlkioDeviceReadBps: [ThrottleDevice],
  BlkioDeviceReadIOps: [ThrottleDevice],
  BlkioDeviceWriteBps: [ThrottleDevice],
  BlkioDeviceWriteIOps: [ThrottleDevice],
  BlkioWeight: integer(),
  BlkioWeightDevice: [ResourcesBlkioWeightDevice],
  CgroupParent: String.t(),
  CpuCount: integer(),
  CpuPercent: integer(),
  CpuPeriod: integer(),
  CpuQuota: integer(),
  CpuRealtimePeriod: integer(),
  CpuRealtimeRuntime: integer(),
  CpuShares: integer(),
  CpusetCpus: String.t(),
  CpusetMems: String.t(),
  DeviceCgroupRules: [String.t()],
  DeviceRequests: [DeviceRequest],
  Devices: [DeviceMapping],
  IOMaximumBandwidth: integer(),
  IOMaximumIOps: integer(),
  Init: boolean(),
  KernelMemoryTCP: integer(),
  Memory: integer(),
  MemoryReservation: integer(),
  MemorySwap: integer(),
  MemorySwappiness: integer(),
  NanoCpus: integer(),
  OomKillDisable: boolean(),
  PidsLimit: integer(),
  Ulimits: [ResourcesUlimits]
}