To upgrade a Docker Event Gateway, restart the Docker gateway with the new Event Gateway
image.
Procedure
-
Edit the backup of the Docker
run command that you generated when you installed the gateway, and update the following
properties:
- The image reference. Set the image reference to your target version. For
example:
-d icr.io/cpopen/ibm-eventendpointmanagement/egw:11.8.0
- If the new version requires an updated license ID, then update
LICENCE_ID.
- If you made additional configuration
changes to your Docker gateway since installation, then ensure that your Docker command includes
those changes.
- Uninstall the previous Docker gateway.
- Run the following command to list the running containers:
- Locate the gateway in the list and stop the gateway container:
docker stop <container_id>
- After the container is stopped, delete the gateway container and image:
docker rm <gateway_container>
docker rmi <gateway_image_name>
- Run the Docker command that you prepared in step 1.