https://github.com/linsamtw/docker-kdb-1
KDB+ 32bit Docker Image
https://github.com/linsamtw/docker-kdb-1
Last synced: 5 months ago
JSON representation
KDB+ 32bit Docker Image
- Host: GitHub
- URL: https://github.com/linsamtw/docker-kdb-1
- Owner: linsamtw
- Created: 2020-10-19T01:34:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-22T01:35:55.000Z (about 6 years ago)
- Last Synced: 2025-03-26T19:47:28.371Z (over 1 year ago)
- Size: 733 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Build Docker Image
- ubuntu:18.04
- KDB+ 32bit (x86)
```sh
docker build -t kdb .
```
## Run Container
```sh
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!
```
### Variables
- ON_STARTUP : 실행시 구동할 파일
- PORT : 포트
## Monitoring
### Prometheus Exporter
You can apply [KxSystems/Prometheus Exporter for kdb+](https://github.com/KxSystems/prometheus-kdb-exporter) for prometheus metrics.
```sh
# Example
system "cd ../prometheus-exporter"
system "l exporter.q"
system "cd ../q"
```
### Grafana Dashboard
[prometheus-kdb-exporter/kdb-dashboard.json](https://github.com/KxSystems/prometheus-kdb-exporter/blob/master/examples/DockerCompose/grafana-config/dashboards/kdb-dashboard.json)
## Contributors
- Mambo