Helps you use the Docker CLI with the Portainer API.
1.6K
A tool to help you populate your config.json with the Portainer API Authorization header.
$ docker run --rm -v ~/.docker/config.json:/config.json portainer/authenticator http://PORTAINER_URL:9000 username password
$ docker -H PORTAINER_URL:9000/api/endpoints/1/docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
04e273b9cb27 portainer/base "/app/portainer --no…" 5 minutes ago Up 5 minutes 0.0.0.0:9000->9000/tcp portainer
...
Content type
Image
Digest
sha256:a914b25e0…
Size
4.8 MB
Last updated
almost 3 years ago
Requires Docker Desktop 4.37.1 or later.
Pulls:
40
Jun 1 to Jun 7