Problem related to hostname while silent instalation of apigee through dockerfile...

During silent installation of dockerfile following errors come:

Cassandra client setup:

Using cassandra nodes

Configuring replication factor to

Usage: apigee-cassandra-datastore-setup [options]

apigee-cassandra-datastore-setup: error: Hostname not given
Usage: apigee-cassandra-datastore-setup [options]

........
........

LDAP configuration

Validating ldap root admin authentication       [SUCCESS]

Available datacenters:

Error: get_input: read failed!

Copying /opt/license.txt to /opt/Apigee/apigee4/conf/apigee/management-server/license.txt

Starting management-server: [  OK  ]
Checking if apigee-management-server has started .
Connection to 172.17.0.3 8080 port [tcp/*] succeeded!
[SUCCESS] apigee-management-server started.

Checking for management-server uuid .
[FAILED] Unable get connect to management-server on [http://172.17.0.3:8080](http://172.17.0.3:8080) (err=7)

.....

Error: apigee-enterprise-setup.sh: start_apigee exited with unexpected status 1
Error: apigee-setup.sh: /opt/Apigee/apigee4/share/installer/apigee-enterprise-setup.sh exited with unexpected status 1
The command '/bin/sh -c ./opt/Apigee/apigee4/share/installer/apigee-setup.sh -p aio  -f /opt/Apigee/API_Services/apigee-edge-4.15.07.00/silent_config_example' returned a non-zero code: 1

Hi ,

Please change and modify in your silent_config_example file as following. And all IP’s must be set as a parameter “IP1” if your installation is going to be as aio installation.

IP1=<Its your host ip>

HOSTIP=$(hostname -i)
MSIP=$IP1
ROUTERIP=$IP1

etc...