i2 Analyze Deployment Tooling

    Show / Hide Table of Contents

    Updating the Docker images

    The update task pulls the latest images from Docker Hub and rebuilds the local images. Use this task to update the images in your environments. Images on Docker Hub are updated with security fixes and other updates.

    To ensure that you are up-to-date with the latest images, run the update task on a regular basis. For example, once every two weeks or once a month.

    Run the following command to update the images:

    manage-environment -t update
    

    If your images are already up-to-date, a message is displayed and you do not need to update your configs. You do not need to complete the following steps.

    If your images are updated, complete the following steps to update your configs to use the latest images, clean and recreate your deployments.

    1. Before you clean your deployments, ensure that you have backed up any data. To back up all of the configs in your environment, use the manage-environment command.
      For example:

      manage-environment -t backup -b update-20220623
      

      This creates a backup named update-20220623 for all configs in the environment.

    2. Clean all of the configs by running the following command:

      manage-environment -t clean
      
    3. Redeploy each config by running the following command:

      deploy -c <config_name>
      
    4. Restore any data to each config.

      For example, to restore data from the update-20220623 backup, run:

      deploy -c <config_name> -t restore -b update-20220623
      

      For more information, see Back up and restore a development database.

    Back to top © N. Harris Computer Corporation