Skip to content

Logging in to the Docker registry#

Specify the following parameters in the ~/.docker/config.json file to set up logging in to the Docker registry:

  "credsStore": "<suffix-of-the-program>"
  "auths": {
      "": {

The credential store binary depends on the platform. Docker supports the following options:

  • osxkeychain on macOS
  • pass and secret-service on Linux

For details, see Docker CLI (docker): docker login.