Perform a major upgrade of a Podman image
This document explains how to perform a major upgrade for an existing remote
agent using the Podman image. The procedure assumes you're viewing the
Major Upgrade dialog in the Google Security Operations SOAR platform. Before
you begin, confirm that your firewall allows outbound HTTPS access on TCP port
443 to the container registries listed in
Network and firewall requirements.
-
On the Major Upgrade dialog, copy the provided Podman run command:
PODMAN_COMMAND
-
List the current running Podman containers:
podman ps -
Enter your agent's container ID:
CONTAINER_ID
-
Enter your agent's container name:
.AGENT_NAME
-
Pull the latest Podman image to your machine using the following command.
You can replace the
:latesttag with a specific version, such as1.4.8.3.podman pull us-docker.pkg.dev/siem-ar-public/images/agent:latest
-
Copy the original environment variables (
.bash_profile) to a local temporary file.podman exec CONTAINER_ID cat /home/siemplify_agent/.bash_profile > temp_bash_profile.txt
-
Stop the agent's Podman container.
podman stop CONTAINER_ID
-
Rename the container for backup.
podman rename AGENT_NAME AGENT_NAME_backup
-
Run the new agent image. If you changed the
latesttag, make sure the image tag matches the one pulled in.PODMAN
-
List the running Podman containers.
podman ps -
Enter your agent's new container ID:
NEW_CONTAINER_ID
-
Copy the environment variables
.bash_profilefrom the temporary file to the new container.cat temp_bash_profile.txt | podman exec -i NEW_CONTAINER_ID sh -c 'cat > /home/siemplify_agent/.bash_profile'
-
Restart the agent service to apply the modified environment variables.
podman exec NEW_CONTAINER_ID supervisorctl restart all
Need more help? Get answers from Community members and Google SecOps professionals.