Giter VIP home page Giter VIP logo

docker_openstack-cli's Introduction

Audience

This image can be used to spin up a container which contains the OpenStack CLI tools , Terraform CLI tool and the faas-cli tool. This image contains default values to talk to the CloudVPS OpenStack environment but these can be overruled by setting new environment settings.

Usage:

docker run -ti \
-e OS_PROJECT_NAME="YOUR-PROJECTNAME" \
-e OS_USERNAME="your-username" \
pblaas/openstack-cli

This will prompt you for your openStack password. Please enter your OpenStack Password:

Available variables:

These variables are available. Only some of them are required as some of them already have default values.

OS_AUTH_URL="https://identity.openstack.cloudvps.com/v3"
OS_PROJECT_ID=""
OS_TENANT_ID=$OS_PROJECT_ID
OS_PROJECT_NAME=""
OS_TENANT_NAME=$OS_PROJECT_NAME
OS_USER_DOMAIN_NAME="Default"
OS_USERNAME=""
OS_PASSWORD=""
OS_REGION_NAME="AMS"
OS_INTERFACE="public"
OS_IDENTITY_API_VERSION=3

If you omit the required variables (without default values), the container will prompt for them on startup.

Volume

You can use the following syntax to mount your terraform projects into the container.

docker run -ti \
-v PATH-TO-TF-BLUEPRINTS:/blueprints \
-e OS_PROJECT_NAME="YOUR-PROJECTNAME" \
-e OS_USERNAME="your-username" \
pblaas/openstack-cli

SSH public keys

You can use the following syntax to mount your .ssh directory into the container. .ssh2 is used because we do not want to alter the original files from the container.

docker run -ti \
-v ~/.ssh:/root/.ssh2 \
-e OS_PROJECT_NAME="YOUR-PROJECTNAME" \
-e OS_USERNAME="your-username" \
pblaas/openstack-cli
Notes

You need to provide OS_PROJECT_ID environment variable to use cinder and glance.

docker_openstack-cli's People

Contributors

pblaas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker_openstack-cli's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.