docker_client_instance

Function docker_client_instance 

Source
pub async fn docker_client_instance() -> Result<Docker, ClientError>
Expand description

Returns a configured Docker client instance.

This function provides access to the underlying Docker client (bollard). While this method is publicly exposed, it is not intended for frequent use. It can be useful in scenarios where you need to interact with the Docker API directly using an already configured client.

This method returns a lazily-created client, reusing an existing one if available.