Running all three required components: OpenSearch/Capture/Viewer on the same Ubuntu host using Docker compose tool. Setup modified to run everything within Docker on the same Ubuntu host. All data/volumes shared from same directory (arkime).
|-- docker-compose.yml
|-- etc
| |-- config.ini
`-- raw
sudo docker compose up -d opensearch
echo "INIT" | sudo docker run --rm -i --network arkime-setup_arkime-net -v ./etc:/opt/arkime/etc ghcr.io/arkime/arkime/arkime:v5-latest /opt/arkime/db/db.pl http://opensearch:9200 init
and stop it after setup:
sudo docker compose down
sudo docker compose up -d
[+] Running 3/3
✔ Container opensearch Running 0.0s
✔ Container arkime-capture Running 0.0s
✔ Container arkime-viewer Running
Let it run for 15 seconds or so, and create default user for arkime-viewer
sudo docker exec arkime-viewer /opt/arkime/bin/arkime_add_user.sh admin "Admin User" YOUR_PASSWORD --admin
This should allow to log into viewer instance (:8005) using admin/PASSWORD credentials. One should be able to check credentails from viewer instance afterwards.
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
arkime-capture ghcr.io/arkime/arkime/arkime:v5-latest "/opt/arkime/bin/doc…" arkime-capture 21 minutes ago Up 21 minutes
arkime-viewer ghcr.io/arkime/arkime/arkime:v5-latest "/opt/arkime/bin/doc…" arkime-viewer 21 minutes ago Up 19 minutes 0.0.0.0:8005->8005/tcp, [::]:8005->8005/tcp
opensearch opensearchproject/opensearch:2.11.0 "./opensearch-docker…" opensearch 21 minutes ago Up 21 minutes 9300/tcp, 9600/tcp, 0.0.0.0:9200->9200/tcp, [::]:9200->9200/tcp, 9650/tcp