Install TrackMe Broker with Docker¶
This guide runs the broker in a container and connects it to TrackMe for Splunk. On the Linux AMD64 host, you need Docker Engine, the Compose plugin and administrator access. The image includes Python.
Allow outbound HTTPS from the broker to your Splunk management URL and each private destination. For Splunk Cloud, add the broker’s outbound IP to the stack’s
search-apiallow list. The broker opens the connections itself.Have a Splunk token for a user with the trackme_broker role and an administrator who can open Configuration → Manage TrackMe Brokers (
trackmeadminoperations).For one connection, start with one vCPU and about 1.5 GiB RAM. The host needs working DNS and a synchronized clock.
1. Choose where to get the image¶
Use A to install from TrackMe’s downloadable image archive or B to pull from Docker Hub. Both run the same broker version. The archive route works on a host that cannot reach a container registry. The running broker still needs outbound access to Splunk and your allowed destinations.
A. Load the image from a .tar.gz file¶
On a machine with internet access, save these files in a single folder.
Choose the archive with image-linux-amd64 in its name. The separate linux-x86_64 archive installs the Linux service.
Optional (recommended) — verify TrackMe’s signature with Cosign
Download the signature bundle into the same folder as the archive.
This check confirms that TrackMe signed your download. It uses Cosign 3.1.4 and OpenSSL.
Save the TrackMe release public key as trackme-release.pub in your working folder. On first use, check its fingerprint.
openssl pkey -pubin -in trackme-release.pub -outform DER | openssl dgst -sha256
The expected SHA-256 fingerprint is 5929ad70f8cf4b3ee170de0cc85ccbb2a899d54ee2958aeb6640a7fdebbb3f62. Confirm it through a trusted TrackMe channel before using the key.
cosign verify-blob --key trackme-release.pub --bundle trackme-broker-1.0.0-image-linux-amd64.tar.gz.sigstore.json trackme-broker-1.0.0-image-linux-amd64.tar.gz
A successful check prints Verified OK.
On the Docker host, create a folder named trackme-broker. Copy the .tar.gz, compose.yaml and broker.yaml into that folder. Open a terminal there. If you transferred the archive, run this check and compare the first value with 8bca1c7bac99908cd0b846e7669e6598c99ef6bef95c5963dfce2c9141ecefd9.
sha256sum trackme-broker-1.0.0-image-linux-amd64.tar.gz
Give Docker the compressed file directly.
docker load --input trackme-broker-1.0.0-image-linux-amd64.tar.gz
Docker should print Loaded image: trackmelimited/trackme-broker:1.0.0. Check that the local image starts.
docker run --rm --pull never trackmelimited/trackme-broker:1.0.0 version
Look for 1.0.0. The downloadable Compose file for this route uses this exact local tag with pull_policy: never. Continue to step 2 from the same folder.
B. Pull the image from Docker Hub¶
On the Docker host, create a folder named trackme-broker and open a terminal there. Save compose.yaml for Docker Hub and broker.yaml in that folder. This Compose file pins the signed Docker Hub image by digest.
Optional (recommended) — verify TrackMe’s signature with Cosign
This check confirms that TrackMe signed your download. It uses Cosign 3.1.4 and OpenSSL.
Save the TrackMe release public key as trackme-release.pub in your working folder. On first use, check its fingerprint.
openssl pkey -pubin -in trackme-release.pub -outform DER | openssl dgst -sha256
The expected SHA-256 fingerprint is 5929ad70f8cf4b3ee170de0cc85ccbb2a899d54ee2958aeb6640a7fdebbb3f62. Confirm it through a trusted TrackMe channel before using the key.
cosign verify --key trackme-release.pub trackmelimited/trackme-broker@sha256:23e5fd88b98461b43a4b50fe25478bd1ed24de2e9d200164362b69bbc94d3397
A successful check confirms the signature against the TrackMe release key.
Pull the image, then continue to step 2.
docker compose pull
2. Set the Splunk URL and token¶
Open the broker.yaml you saved in step 1 in a text editor and change two values.
instance_name — give this host a unique name that you will keep across upgrades.
url — replace
https://stack.example.com:8089with your Splunk management URL, for examplehttps://your-stack.splunkcloud.com:8089.
The example uses TrackMe 2.4.26 to manage allowed destinations. The token goes in a separate file.
Copy the settings into place. The container reads these files as user and group 10001. On this first installation, create a protected empty file for the token.
sudo install -d -o root -g 10001 -m 0750 etc
sudo install -o root -g 10001 -m 0640 broker.yaml etc/broker.yaml
sudo install -o root -g 10001 -m 0640 /dev/null etc/token
sudo nano etc/token
Paste only the token into the editor. Save with Ctrl+O, Enter, then exit with Ctrl+X.
3. Start the container¶
Check the configuration first. Look for token=set and your Splunk URL.
docker compose run --rm --no-deps broker config check
Start the broker and display its pairing code and fingerprint.
docker compose up -d
docker compose exec broker trackme-broker pair
If the code has not appeared yet, check docker compose logs broker and run the pairing command again.
4. Pair and test in TrackMe¶
In TrackMe for Splunk, open Configuration → Manage TrackMe Brokers → Add broker. Enter the pairing code and compare the fingerprint on screen with the one on your host. Use the latest code if the first expires.
Choose A new broker, give it a name and select Accept broker. For a second instance, choose Add to and select the existing broker. Each instance needs its own name and state.
Expand the broker and look for Online. From the broker’s menu, select Manage targets, add the HTTPS URL of a service the broker can reach and save. Check that each instance reports Applied. An empty list blocks all destinations.
Open a remote Splunk account, set Connectivity to this broker and run the account’s connectivity test. A successful response from your private destination confirms the full route. You can also test a Cribl connection or send a test webhook.
For a local readiness check after pairing, run docker compose exec broker trackme-broker status --check. Keep the Compose project and its broker-state volume when replacing the container. See Docker logs and troubleshooting or upgrading the standalone broker.