Skip to content

Run AIP through Docker

Veronica Valeros edited this page Aug 2, 2023 · 1 revision

To run AIP through our Docker image, execute the following command:

cd AIP
docker run --rm -v /opt/zeek/logs/:/home/aip/AIP/data/raw:ro -v ${PWD}/data/:/home/aip/AIP/data/:rw --name aip stratosphereips/aip:latest bin/aip

The command parameters are explained below:

  • --rm → remove the container after execution finished
  • -v /opt/zeek/logs/:/home/aip/AIP/data/raw:ro → mount zeek data to the container
  • -v ${PWD}/data/:/home/aip/AIP/data/:rw → mount the current directory data folder to the container with read-write permissions.
  • --name aip → name of the container that is being created
  • stratosphereips/aip:latest → AIP docker image to use.
  • bin/aip → run AIP