Categorygithub.com/portainer/agentcmddocker-credential-portainer
package
0.0.0-20250930191525-af5895937768
Repository: https://github.com/portainer/agent.git
Documentation: pkg.go.dev

# README

Portainer Credential Helper

docker-credential-portainer is a credential helper accessing private registries from Edge stacks

When edge stacks are deployed in portainer, portainer will send down a list of credentials with the stack.

The edge agent holds these credentials in an in-memory database. This credential helper will request them when required via REST API calls to "http://localhost:9005". This binary is called by docker and docker-compose automatically.

Usage

Place the docker-credential-portainer binary somewhere in the path.

Set the credsStore option to portainer in your $HOME/.docker/config.json file on Linux/Mac or %USERPROFILE%/.docker/config.json on Windows

{
  "credsStore": "portainer"
}

Other

For details on the credential helper interface see: