Docker DB deployment in openshift
Budget: $10 – $30 USD
I am trying to deploy the docker db(db2) to openshift v4.
I want to know that how we can pass the password environment(DB2INST1_PASSWORD=.....) in the below cmd as I am getting below exception:
error: DB2INST1_PASSWORD not set
Did you forget to add -e DB2INST1_PASSWORD=...?
cmd in dockerfile:
run usermod -g db2.... && \
su - db2... -c 'db2start && \
(sh -x /home/create_docker.sh || exit 0)
I want to know that how we can pass the password environment(DB2INST1_PASSWORD=.....) in the below cmd as I am getting below exception:
error: DB2INST1_PASSWORD not set
Did you forget to add -e DB2INST1_PASSWORD=...?
cmd in dockerfile:
run usermod -g db2.... && \
su - db2... -c 'db2start && \
(sh -x /home/create_docker.sh || exit 0)