https://learninghub.kx.com/forums/topic/how-to-dockerize-kdb
I have kdb+ installed inside folder q
inside q
folder I have db folder which data I usually load \l db, there m64 folder, k4.lic, q.k.
how to dockerize this q folder
https://learninghub.kx.com/forums/topic/how-to-dockerize-kdb
I have kdb+ installed inside folder q
inside q
folder I have db folder which data I usually load \l db, there m64 folder, k4.lic, q.k.
how to dockerize this q folder
Hi @mario
This article should prove to be useful - Containerizing kdb+ with Docker. Making kdb+ portable and scalable | by Aidan O'Gorman | Medium
If you have any issues, please let me know!
Thanks,
Megan
I got error exec /kdb/q: exec format error
my path /Users/mario/kdb
FROM debian:latest AS base
# do not clean here, its cleaned later!
RUN apt-get update \
&& apt-get -yy --option=Dpkg::options::=--force-unsafe-io upgrade
# Set env variables for q
ENV QHOME /kdb
ENV PATH ${PATH}:${QHOME}
# This should point to the license file location
ENV QLIC /kdb
# Refresh / Update the base image using alpine's package manager "apk", and binutils to allow use of e.g. tar/ar while building
RUN apt-get -yy --option=Dpkg::options::=--force-unsafe-io --no-install-recommends install \
ca-certificates \
curl \
rlwrap \
runit \
unzip \
&& apt-get clean \
&& find /var/lib/apt/lists -type f -delete
COPY . /kdb
WORKDIR /kdb
CMD ["q", "load.q", "-p","5000"]