/dradis-docker

A Docker image with Dradis: A collaboration and reporting platform for IT security experts.

Primary LanguageRubyApache License 2.0Apache-2.0

Dradis Docker Container

GitHub ImageLayers Size Docker Repository on Quay.io Build Status

A Docker image with Dradis.

Supported Tags and Respective Dockerfile Links

What Is Dradis?

From its own website:

The Dradis Framework is an open-source collaboration and reporting platform for IT security experts.

Dradis is a self-contained web application that provides a centralized repository of information to keep track of everything that has been done so far, and what is still ahead.

How to Use This Image

Download the Image
$ docker pull zuazo/dradis
Create a Directory to Store the Database Data
$ mkdir -p dbdata/
Run Dradis

You need to set the /dbdata volume path:

$ docker run \
    --publish 3000:3000 \
    --volume "$(pwd)/dbdata:/dbdata" \
  zuazo/dradis

You can now open http://127.0.0.1:3000/ to access Dradis.

Build from Sources

Instead of installing the image from Docker Hub, you can build the image from sources if you prefer:

$ git clone https://github.com/zuazo/dradis-docker dradis
$ cd dradis
$ docker build -t zuazo/dradis .

Exposed TCP/IP Ports

  • 3000: Dradis application HTTP port.

Environment Variables Used at Runtime

  • SECRET_KEY_BASE: Randomized string which is used to verify the integrity of signed cookies (randomly generated by default). See here.

You can change them using docker run -e [...] or in your Dockerfile, using the ENV instruction.

Read-only Environment Variables Used at Build Time

  • DRADIS_VERSION: Dradis version to install (3.0.0.rc1).
  • RAILS_ENV: Rails environment (production).

The docker working directory is set to the main Dradis directory (/opt/dradis).

License and Author

Author: Xabier de Zuazo (xabier@zuazo.org)
Copyright: Copyright (c) 2016
License: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.