Managed OpenStack
v5.10
Introduction
Getting Started
Infrastructure
Networks
Volumes and Snapshots
Images
Instances
Flavors
Tenant Administration
User Administration
Authentication & Authorization
Accessing VMs
Application Management
CLI Access
Monitoring & Alarms
Troubleshooting
Tutorials
Support
Regions
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Installing OpenStack CLI Client on Docker
Copy Markdown
Open in ChatGPT
Open in Claude
You can run the required OpenStack commands directly on a Docker Container. For this, you must download the OpenStack CLI Docker container.
Note: You must first install Docker on the host, to be able to run OpenStack commands in a Docker container. Refer to https://docs.docker.com/engine/installation/ for information on Docker installation.
Follow the steps given below to download the OpenStack CLI for Docker.
1. Download the OpenStack RC file from the Clarity UI, and save it as openstack.rc.
2. Convert the file to a usable Docker environment file.
Shell
xxxxxxxxxx# BSD sed (i.e., macOS)sed -i '' -E "s/(^export |[\"'$\{}]|OS_PROJECT_DOMAIN_ID:-)//g" openstack.rc# GNU sed (i.e., Linux)sed --in-place --regexp-extended "s/(^export |[\"'$\{}]|OS_PROJECT_DOMAIN_ID:-)//g" openstack.rc3. Download the OpenStack CLI container.
Shell
xxxxxxxxxxdocker pull platform9/openstack-cli4. Run the following command to start the container.
Shell
xxxxxxxxxxdocker run --env-file openstack.rc -it platform9/openstack-cliYou are now ready to run OpenStack CLI commands directly from within a Docker container.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Installing OpenStack CLI Client on Ubuntu 18.04null
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message