Docker-DocumentServer/tests/damengdb/damengdb-get-disql.sh
2023-01-09 14:36:00 +03:00

9 lines
403 B
Bash
Executable file

#!/bin/bash
# Get disql for remote access
docker run -d -p 5236:5236 --restart=always --name dm8_01 --privileged=true -e PAGE_SIZE=16 -e LD_LIBRARY_PATH=/opt/dmdbms/bin -e INSTANCE_NAME=dm8_01
echo "Disql bin will be copied from dm8 container. Please wait couple of minutes"
sleep 60
docker cp dm8_01:/opt/dmdbms/bin .
docker stop dm8_01 ; docker rm dm8_01
echo "OK: Disql bin files ready"