Updating Docker definitions for an application

Dynamically update an application’s Docker container definitions by registering the application profile fragment. Any updates that you make to the Docker > ContainerDefinition 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:
    1. From the cluster management console, go to Workload > Symphony > Application Profiles.
    2. Click the application name.
    3. In the application profile list, select Dynamic Configuration Update, then Add Service/Docker Container/Session Type.
    4. Scroll down to the Docker Container Definition section and click Add.
    5. Specify your container definition (see Adding a new Docker container).
    6. 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:
    1. From the cluster management console, go to Workload > Symphony > Application Profiles.
    2. Click the application name.
    3. In the application profile list, select Dynamic Configuration Update, then Advanced Service/Docker Container/Session Type Update.
    4. Scroll down to the Docker Container Definition section and make your update.
    5. Click Apply.
    6. 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:
    1. From the cluster management console, go to Workload > Symphony > Application Profiles.
    2. Click the application name.
    3. In the application profile list, select Dynamic Configuration Update, then Remove Service/Docker Container/Session Type.
    4. Ensure that the container definition is not referenced in the Service Definition section.
    5. Scroll down to the Docker Container Definition section and click Remove.
    6. 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.