mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 17:22:57 +01:00
inspect-container.sh opens a new /bin/bash inside the container to check files or other stuff like on normal linux maschines Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
13 lines
543 B
Bash
Executable File
13 lines
543 B
Bash
Executable File
#!/bin/bash
|
|
docker run --rm -it --entrypoint /bin/bash \
|
|
-v $(pwd)/example_config/intelmq/etc:/opt/intelmq/etc \
|
|
-v $(pwd)/example_config/intelmq-api:/opt/intelmq_api/config \
|
|
-v $(pwd)/intelmq_logs:/opt/intelmq/var/log \
|
|
-v $(pwd)/example_config/intelmq/var/lib:/opt/intelmq/var/lib \
|
|
-e "INTELMQ_IS_DOCKER=\"true\"" \
|
|
-e "INTELMQ_PIPELINE_DRIVER=\"redis\"" \
|
|
-e "INTELMQ_PIPELINE_HOST=$redis_ip" \
|
|
-e "INTELMQ_PIPELINE_AMQ_HOST=$amp_ip" \
|
|
-e "INTELMQ_REDIS_CACHE_HOST=$redis_ip" \
|
|
intelmq-full:latest
|