- ubuntu:18.04
- KDB+ 32bit (x86)
docker build -t kdb .
docker run -d --name kdb -v $pwd:/root/q -e ON_STARTUP=/root/q/q.q -p 5000:5000 kdb
docker logs kdb
# print
0
Welcome to kdb+ 32bit edition
For support please see http://groups.google.com/d/forum/personal-kdbplus
Tutorials can be found at http://code.kx.com
To exit, type \\
To remove this startup msg, edit q.q
2020.07.03 01:35:13 Hello World!
- ON_STARTUP : 실행시 구동할 파일
- PORT : 포트
You can apply KxSystems/Prometheus Exporter for kdb+ for prometheus metrics.
# Example
system "cd ../prometheus-exporter"
system "l exporter.q"
system "cd ../q"
prometheus-kdb-exporter/kdb-dashboard.json
- Mambo