https://github.com/rackerlabs/jonah
https://github.com/rackerlabs/jonah
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rackerlabs/jonah
- Owner: rackerlabs
- License: apache-2.0
- Created: 2014-05-05T23:15:24.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-16T20:29:40.000Z (about 12 years ago)
- Last Synced: 2024-08-08T23:27:01.286Z (almost 2 years ago)
- Language: Python
- Size: 224 KB
- Stars: 9
- Watchers: 18
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jonah
==================
#QuickStart
#Docker
In order to use jonah you will need to install Docker.
Setup Docker host for remote management, start Docker with the following options:
`-d -H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock`
This will enable both the socket support and TCP.
If you are installing on Ubuntu you can edit `/etc/init/docker.conf` and at the above options $DOCKER_OPTS:
DOCKER_OPTS="-d -H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"
Or more conveniently on ubuntu:
```
sudo sed -i \
's,DOCKER_OPTS=.*,DOCKER_OPTS=\"-d -H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock\",' \
/etc/init/docker.conf
```
##Security Note
Currently there is no authentication in Docker itself. Since jonah needs to remotely manage the host, you must make sure to place it on a private network otherwise any host will be able to connect to it.
#jonah
Once you have Docker installed and running, pull the keystone and jonah images:
```
docker pull werner/riak
docker pull werner/keystone
docker pull werner/keystone-postgres
docker pull werner/jonah
```
To run the latest version on port 8080:
```
pip install fig
fig up
```
#Client
There is a provided client that can be used to manage the remote service.
Available commands are specified by running the client:
`./client.py`
Additional help can be retrieved from the available commands:
`./client.py versions -h`