Name: ralph-docker
Owner: Allegro Tech
Description: Ralph docker image configuration
Created: 2015-03-23 10:57:19.0
Updated: 2017-08-22 17:27:18.0
Pushed: 2015-04-23 13:29:32.0
Homepage: null
Size: 288
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Build a docker container for the Ralph DCIM system.
Before running the script, you must change the configuration file.
Rename file config.json.example to config.json and change it:
OSITORIES_TYPES": {
"github": "https://github.com/%(fork)s/%(repo_name)s.git -b% (branch) s"
Set the url to clone repositories
In the key REPOSITORIES are all repositories that cloning at startup image
"owner": "allegro"
"default_branch": "develop"
"type": "github"
"repo_name": "django-bob"
owner - username from Github default_branch - default name of branch type - github (url from REPOSITORIES_TYPES) repo_name - the name of the repository
You can change the settings before starting for each repository by environmental variables
rt RALPH_FORK = 'my_fork'
rt RALPH_BRANCH = 'my_branch'
Then the image of Docker will be built with your changes
Build docker base image. Base image has the all packages to run Ralph:
./run.sh build base
Build docker os image. Os is the sample image data and prepared for scanning (ssh_linux, dns_hostname, snmp):
./run.sh build os
Initialize image:
./run.sh init os
Start container:
./run.sh start os
Open docker (/bin/bash):
./run.sh exec os
Upgrade Ralph to new version:
./run.sh upgrade os
See more information to Ralph installation: http://ralph.readthedocs.org/en/latest/installation.html
It is an Open Source project provided on Apache v2.0 License.