https://github.com/pottava/docker-idcf-cli
https://github.com/pottava/docker-idcf-cli
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pottava/docker-idcf-cli
- Owner: pottava
- Created: 2016-12-19T03:03:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-21T14:42:35.000Z (over 9 years ago)
- Last Synced: 2025-06-18T22:40:44.623Z (about 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
IDCF CLI (by CloudStack API) Dockerfiles based on Alpine Linux 3.4.
---
## Images
https://hub.docker.com/r/pottava/idcf-cli/
## Available Tags
https://hub.docker.com/r/pottava/idcf-cli/tags/
### Supported tags and respective `Dockerfile` links
・latest ([versions/0.10/Dockerfile](https://github.com/pottava/docker-idcf-cli/blob/master/versions/0.10/Dockerfile))
・0.10 ([versions/0.10/Dockerfile](https://github.com/pottava/docker-idcf-cli/blob/master/versions/0.10/Dockerfile))
## Usage
You can read help document:
`docker run --rm pottava/idcf-cli --help`
1. Configure IDCF API keys
Edit `~/.idcfrc` on your local machine.
```
[account]
host=${idcf_end_point}
api_key=${your_api_key}
secret_key=${secret_key}
```
2. Run this container with scripts
`docker run --rm -it -v $HOME/.idcfrc:/root/.idcfrc pottava/idcf-cli listZones`
Or you can alias common prefix:
```
alias idcf="docker run --rm -v $HOME/.idcfrc:/root/.idcfrc pottava/idcf-cli"
idcf listVirtualMachines -t id,name,group,state
```