API Gateway 10.15 | Administering API Gateway | Container-based Provisioning | Docker Configuration | Data Backup using Docker Container | Running the API Gateway Utility Container | Running the API Gateway Utility Container | Exiting the container after performing an operation
 
Exiting the container after performing an operation
If you want to exit the container after performing the operation then follow below steps.
*To perform a backup operation by running the API Gateway Utility container
1. Run the following command:
docker run -e apigw_elasticsearch_hosts=[host:port] [IMAGE] -c [COMMAND]
where,
*-e. Variable to specify the API Data Store or Elasticsearch host and port.
*[IMAGE]. API Gateway Image that you created following the steps in the section, Running the API Gateway Utility Container.
*-c. Variable to specify the backup command.
*[COMMAND]. The required backup command. For information on possible backup operations and the commands to be used with the apigatewayutil utility, see Backup Operation.
For example,
docker run -e apigw_elasticsearch_hosts=daeyaix1bvt01.eur.ad.sag:9240 apigwutil -c list backup