BuildxBuilderDockerContainer class
Constructors
-
BuildxBuilderDockerContainer({Input<String?>? cgroupParent, Input<String?>? cpuPeriod, Input<String?>? cpuQuota, Input<String?>? cpuShares, Input<String?>? cpusetCpus, Input<String?>? cpusetMems, Input<bool?>? defaultLoad, Input<Map<String, String>?>? env, Input<String?>? image, Input<String?>? memory, Input<String?>? memorySwap, Input<String?>? network, 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.
const
-
BuildxBuilderDockerContainer.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
cgroupParent
→ Input<String?>?
-
Sets the cgroup parent of the container if Docker is using the "cgroupfs" driver.
final
-
cpuPeriod
→ Input<String?>?
-
Sets the CPU CFS scheduler period for the container.
final
-
cpuQuota
→ Input<String?>?
-
Imposes a CPU CFS quota on the container.
final
-
cpusetCpus
→ Input<String?>?
-
Limits the set of CPU cores the container can use.
final
-
cpusetMems
→ Input<String?>?
-
Limits the set of CPU memory nodes the container can use.
final
-
cpuShares
→ Input<String?>?
-
Configures CPU shares (relative weight) of the container.
final
-
defaultLoad
→ Input<bool?>?
-
Automatically load images to the Docker Engine image store. Defaults to
false
final
-
env
→ Input<Map<String, String>?>?
-
Sets environment variables in the container.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
image
→ Input<String?>?
-
Sets the BuildKit image to use for the container.
final
-
memory
→ Input<String?>?
-
Sets the amount of memory the container can use.
final
-
memorySwap
→ Input<String?>?
-
Sets the memory swap limit for the container.
final
-
network
→ Input<String?>?
-
Sets the network mode for the container.
final
-
restartPolicy
→ Input<String?>?
-
Sets the container's restart policy.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited