Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add loading credentials from docker cli config #833

Merged
merged 2 commits into from
May 17, 2021

Commits on May 16, 2021

  1. Add loading credentials from docker cli config

    This adds a package pkg/runtime/auth with helpers to read the docker cli
    config and load the credentials for the host name of a given image. This
    is based on nerdctl's dockerconfigresolver.
    
    When using containerd as the runtime, the credentials from docker cli
    config is loaded into a containerd remote resolver and passed to the
    containerd remote option used for pulling.
    
    When using docker as the runtime, the credentials from docker cli config
    is loaded into the docker image pull options in the required format.
    darkowlzz committed May 16, 2021
    Configuration menu
    Copy the full SHA
    f9f3bf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8a6a99 View commit details
    Browse the repository at this point in the history