Environmental Variables for the Installer Container
This section describes environmental variables that you can modify to customize the sample-run script for the Installer container.
About mapr-docker-installer.sh
mapr-docker-installer.sh
is the sample-run script for the Installer container. The script contains the docker
run
command that runs the container and environmental variables that can be
passed into the container at run time. Modifying the variables is optional; the script can
run without any changes to the environmental variables.
The following environmental variables can be changed in
mapr-docker-installer.sh
:
Environmental Variables in mapr-docker-installer.sh
Key | Variable | Description |
---|---|---|
MAPR_CONTAINER_USER |
<user-name> |
The user that the user application inside the Docker container will run as. This
configuration is functionally equivalent to the Docker native The user specified here is the user that all storage operations on the cluster will be performed as. Therefore, Hewlett Packard
Enterprise recommends not using This user also owns the |
MAPR_CONTAINER_UID |
<uid> |
The UID that the application inside the Docker container will run as. This is a companion to the MAPR_CONTAINER_USER option. If a UID is not provided, the default is UID 1000. Providing a UID is strongly recommended. |
MAPR_CONTAINER_GROUP |
<group-name> |
The group that the application inside the Docker container will run as. This is a
companion to the MAPR_CONTAINER_USER option. If a group name is not provided, the
default is users . Providing a group name is strongly
recommended. |
MAPR_CONTAINER_GID |
<gid> |
The GID that the application inside the Docker container will run as. This is a companion to the MAPR_CONTAINER_USER option. If a GID is not provided, the default is GID 1000. Providing a GID is strongly recommended. |
MAPR_PKG_URL |
<mapr-pkg-url> |
The URL of the repository that hosts the packages (typically
https://package.ezmeral.hpe.com/). If you change MAPR_PKG_URL, use the full URL
to your repository (for example, <hostname>/releases ). |
MAPR_CONTAINER_PASSWORD |
<mapr-password> |
The password for the mapr user. This password must be set if the
container will remaining running. The password defaults to
mapr . |
MAPR_STANZA_FILE |
<stanza-file> |
The path to a Installer Stanza file that needs to
be mounted from the host. You must specify this field if you issue the Stanza
install command as an argument to the script. For example:
|
MAPR_MEMORY |
<mapr-memory> |
Specify the maximum amount of memory (in kilobytes, megabytes, or gigabytes) that
Docker allows the container to access. For example:
|
MAPR_TZ |
<time-zone> |
The time zone inside the container. For a list of time-zone settings, see this website. The default is UTC. |