DockerClient constructor

DockerClient()

Creates a DockerClient from the environment.

Connection parameters are read from DOCKER_HOST, TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE, and other standard env vars via dockerSocket and dockerHost.

If DOCKER_AUTH_CONFIG is set, the first registry entry is used to perform an implicit POST /auth login.

Implementation

DockerClient() : this._fromEnv();