TAVM framework in a Docker Container
The whole TAVM framework can be built into a Docker image. The image can be used to run the TAVM core application and the adapters.
Building the Docker image
The Docker image can be built using the following command:
docker build -t tavm . --no-cache
After that, a Docker image called tavm with the latest tag is available on your local registry.
Running the Docker image
The supported way to run the Docker image is to use the provided docker-compose.yml file.
Docker Compose will automatically build the TAVM framework Dockerfile and start the TAVM core application.
The Docker Compose stack will also start a MongoDB instance and a TAXII server instance.
Simply run the following Docker Compose command:
docker compose up -d --build
The web interface of the TAVM core application is available at http://localhost:11220.
Three named Docker volumes are used to store persistent data (database, configuration, TAXII server data):
- tavm_mongodb_data: holds the MongoDB data (raw data, stats, etc.)
- tavm_taxii_data: holds the TAXII server data (STIX collections)
- tavm_config: holds the configuration files for the TAVM core application and the adapters