Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#! /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: \
--passwords-url \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment