Skip to main content

readDockerConfig

@webda/oci


Function: readDockerConfig()

readDockerConfig(env?): any

Defined in: packages/oci/src/auth.ts:146

Read the Docker CLI configuration

Parameters​

env?​

Record<string, string | undefined> = process.env

environment, for DOCKER_CONFIG

Returns​

any

the configuration, empty if missing