Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/portainer/authenticator
Docker CLI helper to authenticate against Portainer
https://github.com/portainer/authenticator
docker portainer
Last synced: 3 months ago
JSON representation
Docker CLI helper to authenticate against Portainer
- Host: GitHub
- URL: https://github.com/portainer/authenticator
- Owner: portainer
- Created: 2018-04-11T15:51:47.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2023-09-26T00:35:50.000Z (over 1 year ago)
- Last Synced: 2024-11-05T22:40:38.520Z (3 months ago)
- Topics: docker, portainer
- Language: Go
- Size: 27.3 KB
- Stars: 9
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - portainer/authenticator - Docker CLI helper to authenticate against Portainer (docker)
README
# Authenticator
A tool to help you populate your `config.json` with the Portainer API Authorization header.
## Usage
```
$ docker run --rm -v ~/.docker/config.json:/config.json portainer/authenticator PORTAINER_URL:9443 username password true
```## Docker CLI + Portainer API
```
$ docker -H PORTAINER_URL:9000/api/endpoints/1/docker ps -aCONTAINER 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
...
```