docker_pkg

Generic helpers

Functions

image_fullname(name, config)

Canonical image name based on configured namespace and registry.

docker_pkg.image_fullname(name, config)[source]

Canonical image name based on configured namespace and registry.

Parameters
  • name (str) – Base name of the Docker image.

  • config (dict) –

    docker-pkg configuration:

    • registry: Docker registry domain name (Default: False)

    • namespace: Docker registry namespace (Default: False)

Returns

Canonical image name with namespace/registry if set in the config.