Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chris-rock/openstack-cli

OpenStack Cli in a Docker Box
https://github.com/chris-rock/openstack-cli

Last synced: about 1 month ago
JSON representation

OpenStack Cli in a Docker Box

Awesome Lists containing this project

README

        

# Open Stack CLI in Docker

I had some issues installing the python dependencies for OpenStack with pip on MacOS. Instead of using virtualenv, I started using Docker with all OpenStack tools installed. Best thing: No dependencies hell on my machine ;-)

## Quick Start

```bash
docker pull chrisrock/openstack-cli
# $(pwd)/config is the path where your openstackrc files are located
docker run -it -v $(pwd)/config:/config chrisrock/openstack-cli /bin/bash
# source the config file
$ source /config/example.rc
```

## Manual Build

```bash
# Build the docker clients locally
docker build -t oscli .

# Use the clients
docker run -it oscli /bin/bash

# If you like to mount your config files
docker run -it -v $(pwd)/config:/config oscli /bin/bash
```

## Contributing

1. Fork it ( http://github.com//git-contributors/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## Copyright

Copyright (c) 2015 Christoph Hartmann

Licensed under MIT