Skip to main content

build_docker_runtime_args

Function build_docker_runtime_args 

Source
pub fn build_docker_runtime_args(options: &IsolationOptions) -> Vec<&str>
Expand description

Build the extra docker run arguments contributed by runtime options (–privileged, –env/-e, –volume/-v, –mount, –network, –network-alias, resource limits). Returned references borrow from options, which outlives the docker run invocation.