Function brane_tsk::docker::connect_local
source · pub fn connect_local(opts: impl AsRef<DockerOptions>) -> Result<Docker, Error>
Expand description
Creates a new connection to the local Docker daemon.
§Arguments
opts
: The DockerOptions that contains information on how we can connect to the local daemon.
§Returns
A new Docker
-instance that may be used in some of the other functions in this module.
§Errors
This function errors if we could not connect to the local daemon.