BuildxBuilderDockerContainer constructor

const BuildxBuilderDockerContainer({
  1. Input<String?>? cgroupParent,
  2. Input<String?>? cpuPeriod,
  3. Input<String?>? cpuQuota,
  4. Input<String?>? cpuShares,
  5. Input<String?>? cpusetCpus,
  6. Input<String?>? cpusetMems,
  7. Input<bool?>? defaultLoad,
  8. Input<Map<String, String>?>? env,
  9. Input<String?>? image,
  10. Input<String?>? memory,
  11. Input<String?>? memorySwap,
  12. Input<String?>? network,
  13. Input<String?>? restartPolicy,
})

Creates a new BuildxBuilderDockerContainer. cgroupParent Sets the cgroup parent of the container if Docker is using the "cgroupfs" driver. cpuPeriod Sets the CPU CFS scheduler period for the container. cpuQuota Imposes a CPU CFS quota on the container. cpuShares Configures CPU shares (relative weight) of the container. cpusetCpus Limits the set of CPU cores the container can use. cpusetMems Limits the set of CPU memory nodes the container can use. defaultLoad Automatically load images to the Docker Engine image store. Defaults to false env Sets environment variables in the container. image Sets the BuildKit image to use for the container. memory Sets the amount of memory the container can use. memorySwap Sets the memory swap limit for the container. network Sets the network mode for the container. restartPolicy Sets the container's restart policy.

Implementation

const BuildxBuilderDockerContainer({
  this.cgroupParent,
  this.cpuPeriod,
  this.cpuQuota,
  this.cpuShares,
  this.cpusetCpus,
  this.cpusetMems,
  this.defaultLoad,
  this.env,
  this.image,
  this.memory,
  this.memorySwap,
  this.network,
  this.restartPolicy,
});