pub fn parse_docker_resource_limits(host_config: &Value) -> Vec<String>Expand description
Translate an inspected HostConfig into docker run flags.
Only limits that differ from Docker’s defaults are emitted, and only in
combinations docker run accepts: --memory-swap needs --memory, and
--cpus cannot be combined with --cpu-quota/--cpu-period.