Skip to content

DockerCommonOptions

DockerCommonOptions = object

Defined in: types.ts:6

Options every docker command accepts, whatever its subcommand.

optional context?: string

Defined in: types.ts:13

The docker context to run against, as docker --context takes it.

Naming the context per command leaves the daemon the rest of the machine talks to alone, which docker context use would not.