Last active
April 11, 2020 04:57
-
-
Save yeongseon/f345d97f5c125371c3ea5f91ba64f4e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Remove existed docker container | |
sudo docker rm express_edition | |
# Modify the permission of /data/expression_edition | |
sudo rm -rf /data/express_edition | |
sudo mkdir -p /data/express_edition | |
sudo chown 12000:79 /data/express_edition | |
# Execute docker container | |
sudo docker run -p 39013:39013 -p 39017:39017 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -v /data/express_edition:/hana/mounts \ | |
--ulimit nofile=1048576:1048576 \ | |
--sysctl net.ipv4.ip_local_port_range='40000 60999' \ | |
--sysctl kernel.shmmax=1073741824 \ | |
--sysctl kernel.shmmni=524288 \ | |
--sysctl kernel.shmall=8388608 \ | |
--name express_edition \ | |
store/saplabs/hanaexpress:2.00.045.00.20200121.1 \ | |
--passwords-url https://raw.githubusercontent.com/yeongseon/temp/master/password.json \ | |
--agree-to-sap-license |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment