runway.cfngin.hooks.docker package

Docker hook.

runway.cfngin.hooks.docker.login(**kwargs)[source]

Docker login hook.

Replicates the functionality of docker login cli command.

Keyword Arguments
  • dockercfg_path (Optional[str]) – Use a custom path for the Docker config file (default $HOME/.docker/config.json if present, otherwise``$HOME/.dockercfg``).

  • ecr (runway.cfngin.hooks.docker._data_models.ElasticContainerRegistry) – Information describing an ECR registry.

  • email (Optional[str]) – The email for the registry account.

  • password (str) – The plaintext password.

  • registry (Optional[str]) – URL to the registry (e.g. https://index.docker.io/v1/)

  • username (str) – The registry username. Optional if supplying ecr.