Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozerovandrei/openstackclient
Docker image for the OpenStack client
https://github.com/ozerovandrei/openstackclient
Last synced: 1 day ago
JSON representation
Docker image for the OpenStack client
- Host: GitHub
- URL: https://github.com/ozerovandrei/openstackclient
- Owner: ozerovandrei
- Created: 2017-08-19T10:14:21.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2021-01-17T08:39:21.000Z (almost 4 years ago)
- Last Synced: 2024-11-11T14:51:13.174Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenStack client
This repository contains Dockerfile to build image with OpenStack client.
Bash-completions are included.## Download
```bash
docker pull ozerov/openstackclient
```## Usage
### If you have an admin-openrc
```bash
# Run a container and provide the admin-openrc file to the OpenStack client
docker run --rm -it \
-v $PWD/admin-openrc:/root/admin-openrc \
ozerov/openstackclient# Source the file inside a container and run the OpenStack client
source /root/admin-openrc
openstack server list
```### If you don't have an admin-openrc
```bash
# Export all needed variables and run the OpenStack client
docker run --rm \
-e OS_PROJECT_DOMAIN_NAME='domain_name' \
-e OS_USER_DOMAIN_NAME='domain_name' \
-e OS_PROJECT_NAME='project_name' \
-e OS_USERNAME='username' \
-e OS_PASSWORD='password' \
-e OS_AUTH_URL='auth_url' \
-e OS_IDENTITY_API_VERSION='3' \
-e OS_IMAGE_API_VERSION='2' \
ozerov/openstackclient \
openstack server list
```