Struct docker_api::api::image::opts::BuildOptsBuilder [−][src]
pub struct BuildOptsBuilder { /* fields omitted */ }
Implementations
set the name of the docker file. defaults to DockerFile
tag this image with a name after building it
Extra hosts to add to /etc/hosts.
Don’t use the image cache when building image.
Attempt to pull the image even if an older image exists locally.
Total memory (memory + swap). Set as -1 to disable swap.
CPU shares (relative weight).
CPUs in which to allow execution (eg. 0-3
, 0,1
)
The length of a CPU period in microseconds.
Microseconds of CPU time that the container can get in a CPU period.
Size of /dev/shm in bytes. The size must be greater than 0. If omitted the system uses 64MB.
Squash the resulting images layers into a single layer. (Experimental release only.)
bridge
, host
, none
, container:<name|id>
, or a custom network name.
Platform in the format os[/arch[/variant]].
BuildKit output configuration.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BuildOptsBuilder
impl Send for BuildOptsBuilder
impl Sync for BuildOptsBuilder
impl Unpin for BuildOptsBuilder
impl UnwindSafe for BuildOptsBuilder