Skip to main content

get_container

Function get_container 

Source
pub async fn get_container(name: &str) -> Option<ContainerInspectResponse>
Expand description

Retrieves a container by its name from the container map.

This function returns an Option<ContainerInspectResponse> containing the requested container, if found. Otherwise, it returns None.