Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haxorof/docker-openstack-cli
OpenStackClient in a Docker container
https://github.com/haxorof/docker-openstack-cli
docker-image openstack-clients
Last synced: 3 months ago
JSON representation
OpenStackClient in a Docker container
- Host: GitHub
- URL: https://github.com/haxorof/docker-openstack-cli
- Owner: haxorof
- Created: 2018-07-07T16:00:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T19:10:01.000Z (3 months ago)
- Last Synced: 2024-11-14T20:19:53.708Z (3 months ago)
- Topics: docker-image, openstack-clients
- Language: Dockerfile
- Homepage:
- Size: 169 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenStackClient
[](https://hub.docker.com/r/haxorof/openstack-cli/)
[](https://github.com/haxorof/docker-openstack-cli/actions?query=workflow%3ACI)> "OpenStackClient (aka OSC) is a command-line client for OpenStack that brings the command set for Compute, Identity, Image, Object Storage and Block Storage APIs together in a single shell with a uniform command structure." [docs.openstack.org](https://docs.openstack.org/python-openstackclient/latest/)
In addition to the standard OpenStack client the following clients are also available:
- Designate
- Heat## How to use this image
Simplest way of using this image is to just run with the arguments you want. Example below will show the help of `openstack` command:
```console
docker run -it --rm haxorof/openstack-cli help
```To use OpenStack configuration file that is located on the host system you mount it into the container. Example below list all servers
using the `test` cloud configuration defined in `${HOME}/.config/openstack/clouds.yaml`:```console
docker run -it --rm -v ${HOME}/.config/openstack:/etc/openstack haxorof/openstack-cli --os-cloud test server list
```## Bash aliases
To make it easier to use this container you could setup bash aliases by creating `~/.bash_aliases` with the following contents:
```bash
alias openstack='docker run -it --rm -v ${HOME}/.config/openstack:/etc/openstack haxorof/openstack-cli'
```