Skip to main content

read_docker_resource_limits

Function read_docker_resource_limits 

Source
pub fn read_docker_resource_limits<R: CommandRunner + ?Sized>(
    container_name: &str,
    runner: &R,
) -> Option<Vec<String>>
Expand description

Read a container’s resource limits with docker inspect.

Returns None when the container could not be read.