...
Code Block | ||||
---|---|---|---|---|
| ||||
docker run -d \
--security-opt seccomp:unconfined \
--cap-add SYS_ADMIN \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v /etc/localtime:/etc/localtime:ro \
-p 9022:22 \
-p 443:443 \
-p 60000:60000 \
-p 60020:60020 \
--stop-timeout 10 \
--hostname dpod \
--name dpod \
dpod:latest && docker exec -d -u root dpod /bin/su - -c "export ACCEPT_LICENSE=1; export TIME_ZONE=America/New_York ;export DPOD_EXT_HOST_IP=192.168.65.110 ;/app/scripts/app-init.sh" |
...
The following environment variables can be used when invoking the command:
- ACCEPT_LICENSE: (mandatory) Indication that the user has accepted the EULA ( End User License Agreement ). The value for accepting is the number 1. (For reviewing the license agreement see "reviewing license agreement ")
- TIME_ZONE: (optional) use the time zone configured to your monitored device. The time zone should be compatible with the “tz database time zone”. The default time zone is “America/New_York”.
- DPOD_EXT_HOST_IP: (optional) Use this variable if your monitored device does not have direct access to your DPOD container (for example, if you are using physical or virtual IDG appliance).
The value should be the Docker host IP address. - DPOD_NTP_1: (optional) use this value to configure your primary NTP server IP address inside the DPOD container.
- DPOD_NTP_2, DPOD_NTP_3, DPOD_NTP_4: (optional) use this value to configure your secondary NTP servers IP address inside the DPOD container.
...
Code Block | ||||
---|---|---|---|---|
| ||||
docker start dpod && docker exec -d -u root dpod /bin/su - -c "export ACCEPT_LICENSE=1; export TIME_ZONE=America/New_York ;export DPOD_EXT_HOST_IP=192.168.65.110 ; /app/scripts/app-init.sh" |
Review License Agreement
For reviewing the license agreement execute the following command. The command can be executed in stage as long as the container is running.
Code Block | ||||
---|---|---|---|---|
| ||||
docker exec -t -u root dpod2 /bin/su - -c "export SHOW_LICENSE=1; /app/scripts/app-init.sh" |
...