[FIX] Fixed path issues & added inspect-container

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>
This commit is contained in:
Sebastian Waldbauer
2021-03-05 13:44:11 +01:00
parent b23c60dda5
commit 13fbc401a7
3 changed files with 35 additions and 10 deletions

12
inspect-container.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/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