https://github.com/BenOvermyer/barge
A CLI tool for managing Docker Swarms through the Portainer API
https://github.com/BenOvermyer/barge
docker docker-swarm portainer
Last synced: 21 days ago
JSON representation
A CLI tool for managing Docker Swarms through the Portainer API
- Host: GitHub
- URL: https://github.com/BenOvermyer/barge
- Owner: BenOvermyer
- License: apache-2.0
- Created: 2019-05-09T17:14:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T12:05:56.000Z (about 2 years ago)
- Last Synced: 2024-11-13T14:59:37.839Z (6 months ago)
- Topics: docker, docker-swarm, portainer
- Language: Go
- Size: 68.4 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Barge
Barge is a command line tool for viewing multiple Docker Swarms through Portainer.
## Usage
### Get Barge
```bash
curl -L https://github.com/BenOvermyer/barge/releases/download/0.4.0/barge-linux-amd64 -o barge
chmod +x barge
```### Config & Run
Optionally, these values can be provided in YAML notation via `barge.yaml`.
```bash
export PORTAINER_URL=https://portainer.mysite.com
export PORTAINER_USERNAME=myuser
export PORTAINER_PASSWORD=mypass
barge -h
```## Contributing
During local development, you can use `go run` to build from source and run the target application all in one shot.
```bash
go run .
```If you'd like to test it with arguments, you can append them. Here's an example with the container command.
```bash
go run . container --help
```