
This is pretty cool and thanks for sharing!
I just managed to run LogPoint as a docker image/container.
It is relatively simpel and could help improving testing systems, where you want to start from a fresh logpoint for each test, make the desired configurations, run the test and discard the changes at the end.
Our use case was developing a unit testing framework for alert rules.
Here is what I did to run logpoint in a container. I did this on a linux machine (debian 12) with docker.io installed:
tar xf logpoint_7.4.0.ova
qemu-img convert -O raw LogPoint-7.4.0.vmdk LogPoint-7.4.0.raw
parted -s LogPoint-7.4.0.raw unit b print
mkdir /mnt/rootfs
losetup -o
<START POSITION>
-f LogPoint-7.4.0.raw
mount /dev/LogPoint-vg/root /mnt/rootfs/
mount /dev/LogPoint-vg/application /mnt/rootfs/opt/
mount /dev/LogPoint-vg/app_store /mnt/rootfs/opt/makalu/app_store/
mount /dev/LogPoint-vg/storage /mnt/rootfs/opt/makalu/storage/
tar -czf image.tar.gz -C /mnt/rootfs/ .
docker import image.tar.gz logpoint:7.4.0
docker images
docker run --security-opt seccomp=unconfined --privileged --ulimit core=0 --ulimit data=-1 --ulimit fsize=-1 --ulimit sigpending=62793 --ulimit memlock=65536 --ulimit rss=-1 --ulimit nofile=50000 --ulimit msgqueue=819200 --ulimit rtprio=0 --ulimit nproc=-1 -p 8443:443 -p 8514:514 -p 822:22 -i -t
<IMAGE ID>
/bin/bash
sudo -u li-admin /opt/immune/bin/li-admin/shenandoah_manager.sh enable
/opt/logpoint/embedded/bin/runsvdir-start
I hope this helps some of you!
Share This Post:
This is pretty cool and thanks for sharing!
Please sign in to leave a comment.
1 comment