Skip to main content

docker_runtime_metadata

Function docker_runtime_metadata 

Source
pub fn docker_runtime_metadata(
    volumes: &[String],
    mounts: &[String],
    env: &[String],
    privileged: bool,
) -> Vec<(String, Value)>
Expand description

Build the execution-record metadata entries for docker runtime options. Returns (key, value) pairs to merge into the options map; empty collections and a false privileged flag contribute no entries.