Sunday 16 April 2023

Thousand Eye - Modify the Docker Container

Modify the Docker Container

 

STEP 1 : Stop the application:

catalyst# app-hosting stop appid thousandeyes_enterprise_agent

thousandeyes_enterprise_agent stopped successfully

Current state is: STOPPED

 

STEP 2 : De-activate the application:

 

catalyst# app-hosting deactivate appid thousandeyes_enterprise_agent

thousandeyes_enterprise_agent deactivated successfully

Current state is: DEPLOYED

 

STEP 3: Modify the Docker options, and exit three times:

 

catalyst(config)#app-hosting appid thousandeyes_enterprise_agent

catalyst(config-app-hosting)#app-resource docker

catalyst(config-app-hosting-docker)#prepend-pkg-opts

catalyst(config-app-hosting-docker)#<run-opts command>

catalyst(config-app-hosting-docker)#exit

catalyst(config-app-hosting)#exit

catalyst(config)#exit

 

STEP 4 : Reactivate the application, and confirm that it’s activated:

 

catalyst# app-hosting activate appid thousandeyes_enterprise_agent

thousandeyes_enterprise_agent activated successfully

Current state is: ACTIVATED

 

STEP 5 : Start the application, and confirm that it is running:

 

catalyst# app-hosting start appid thousandeyes_enterprise_agent

thousandeyes_enterprise_agent started successfully

Current state is: RUNNING

No comments:

Post a Comment