Skip to content

Instantly share code, notes, and snippets.

pxec9e /var/log # docker run -p 39013:39013 -p 39017:39017 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -v /hana/:/hana/mounts --ulimit nofile=1048576:1048576 --sysctl kernel.shmmax=1073741824 --sysctl net.ipv4.ip_local_port_range='40000 60999' --sysctl kernel.shmmni=524288 --sysctl kernel.shmall=8388608 --name hana_express -h a3dbc985001b store/saplabs/hanaexpress:2.00.036.00.20190223.1 --passwords-url file:///hana/.json --agree-to-sap-license
======== Starting HANA container run script ========
Started at: Sun May 5 02:09:38 UTC 2019
Script parameters: --passwords-url file:///hana/.json --agree-to-sap-license
HANA version: 2.00.036.00.1547699771
Linux kernel version: 4.19
Setting HANAs host name to 'a3dbc985001b' ...
Checking allowed mountpoints ...
Checking system requirements ...
Checking /proc/sys prerequisites and limits...
docker run -p 39013:39013 -p 39017:39017 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -v /hana/:/hana/mounts -h hxehost --ulimit nofile=1048576:1048576 --sysctl kernel.shmmax=1073741824 --sysctl net.ipv4.ip_local_port_range='40000 60999' --sysctl kernel.shmmni=524288 --sysctl kernel.shmall=8388608 --name hana_express store/saplabs/hanaexpress:2.00.036.00.20190223.1 --passwords-url file:///hana/.json--agree-to-sap-license
======== Starting HANA container run script ========
Started at: Sun May 5 02:00:29 UTC 2019
Script parameters: --passwords-url file:///hana/.json--agree-to-sap-license
HANA version: 2.00.036.00.1547699771
Linux kernel version: 4.19
ERROR: Unknown host 'hxehost'. The container must be started with one of these host names:
ERROR: a3dbc985001b
pxec9e /var/log # docker run -p 39013:39013 -p 39017:39017 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -v /hana/:/hana/mounts --ulimit nofile=1048576:1048576 --sysctl kernel.shmmax=1073741824 --sysctl net.ipv4.ip_local_port_range='40000 60999' --sysctl kernel.shmmni=524288 --sysctl kernel.shmall=8388608 --name hana_express store/saplabs/hanaexpress:2.00.036.00.20190223.1 --passwords-url file:///hana/.json -h hxehost --agree-to-sap-license
usage: [options]
--dont-check-consistency Skip consistency check between mount points
--dont-check-daemon Skip check existence of hdbdaemon process during HANA start
--dont-check-mount-points Skip check for allowed mount points
--dont-check-version Skip compatibility check of current and last HANA version
--dont-check-system Skip check for incompatible /proc/sys values
--dont-exit-on-error Halt script on error to allow root cause analysis
pxec9e /hana # docker run -p 39013:39013 -p 39017:39017 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -v /hana/:/hana/mounts --ulimit nofile=1048576:1048576 --sysctl kernel.shmmax=1073741824 --sysctl net.ipv4.ip_local_port_range='40000 60999' --sysctl kernel.shmmni=524288 --sysctl kernel.shmall=8388608 --name hana_express store/saplabs/hanaexpress:2.00.036.00.20190223.1 --passwords-url file:///hana/.json
======== Starting HANA container run script ========
Started at: Sat May 4 16:23:17 UTC 2019
Script parameters: --passwords-url file:///hana/.json
HANA version: 2.00.036.00.1547699771
Linux kernel version: 4.19
ERROR: Unknown host '72816e27c0f8'. The container must be started with one of these host names:
ERROR: a3dbc985001b
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/<directory_name>:/hana/mounts \
--ulimit nofile=1048576:1048576 \
--sysctl kernel.shmmax=1073741824 \
--sysctl net.ipv4.ip_local_port_range='40000 60999' \
--sysctl kernel.shmmni=524288 \
--sysctl kernel.shmall=8388608 \
--name <container_name> \
store/saplabs/hanaexpress:2.00.036.00.20190223.1 \
--passwords-url <file://<path_to_json_file> OR http/https://<url_to_json_file>> \
--agree-to-sap-license
docker run -p 39013:39013 -p 39017:39017 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -v /hana/:/hana/mounts --ulimit nofile=1048576:1048576 --sysctl kernel.shmmax=1073741824 --sysctl net.ipv4.ip_local_port_range='40000 60999' --sysctl kernel.shmmni=524288 --sysctl kernel.shmall=8388608 --name store/saplabs/hanaexpress:2.00.036.00.20190223.1 --passwords-url OR http/https://&gt; --agree-to-sap-license
unknown flag: --passwords-url