useDockerHost

useDockerHost $host $port

Configure environment variables to connect to specified Docker host.

Parameters

$host

Hostname or IP address to connect to.

$port

Optional. Port number of the Docker API, defaults to 2376; the Docker client default.