Dynamically update an application’s Docker container definitions by registering the
application profile fragment. Any updates that you make to the
section of an application profile take effect in the next task scheduling cycle without terminating
existing workload.
Procedure
Dynamically update an application's Docker container definition to add, remove, or
modify the Docker Container Definition of the application profile fragment
from the cluster management console.
- To dynamically add a Docker container definition:
- From the cluster management console, go to
.
- Click the application name.
- In the application profile list, select Dynamic Configuration
Update, then Add Service/Docker Container/Session
Type.
- Scroll down to the Docker Container Definition section and
click Add.
- Specify your container definition (see Adding a new Docker container).
- Click Apply.
Existing application workload continues to run. New sessions created after
this update use the new container definition.
- To dynamically modify a Docker container definition:
- From the cluster management console, go to
.
- Click the application name.
- In the application profile list, select Dynamic Configuration
Update, then Advanced Service/Docker Container/Session Type
Update.
- Scroll down to the Docker Container Definition section and make
your update.
- Click Apply.
- Confirm your update.
Existing application workload continues to run. New sessions created after
this update use the updated container definition.
- To dynamically remove a Docker container definition:
- From the cluster management console, go to
.
- Click the application name.
- In the application profile list, select Dynamic Configuration
Update, then Remove Service/Docker Container/Session
Type.
- Ensure that the container definition is not referenced in the Service
Definition section.
- Scroll down to the Docker Container Definition section and
click Remove.
- Click OK to confirm, then
Apply.
Existing application workload continues to run. New sessions created after
this update do not include the deleted container definition.