Docker Dev Guide
#
Selecting a VersionYou can use the "master" version or a tagged version.
To select a released version use the docker_select_version.sh script (see the Deployment Guide).
If you wish to use the development version (master branch) simply skip the docker_select_version.sh step.
#
InstallingSee the Deployment Guide to learn how to set up collectors, your environment and override files, etc.
#
ImporterThe importer "shared" config that Docker uses is defined in compose/netsage_shared.xml. NOTE: If you want to make changes to this file, you will need to rebuild the container
#
Build ImagesThe images are published on Docker Hub, but if you'd like to incorporate local changes please follow the process below.
#
Build Using Source CodeIf you would like to build the importer container using the version of the pipeline scripts found in the GitHub repo then run the following:
NOTE: The importer container includes the config files for the logstash pipeline.
#
Optional: ElasticSearch and KibanaYou can optionally store flow data locally in an ElasticSearch container and view the data with Kibana. Local storage can be enabled with the following steps:
- Uncomment the following lines in conf-logstash/99-outputs.conf:
Comment out the
rabbitmq {...}
block in conf-logstash/99-outputs.conf if you do not want to also send logstash output to RabbitMQ.Run the containers using the following line:
docker-compose -f docker-compose.yml -f docker-compose.develop.yml up -d