Updating DB Agent
Updating DB Agent periodically gets you bug fixes, security patches, and new features. The process is quick to do whenever a new release comes out.
Active connections will be interrupted
Database containers run independently of the DB Agent daemon, so they stay up and keep their data intact across an update. However, all client connections go through DB Agent's proxies, so restarting it will drop every active connection to every database. Plan updates around a moment where a brief reconnect is acceptable.
Pick the method matching how you installed DB Agent:
Pull the latest image and recreate the container:
bash
docker compose pull
docker compose up -dThat's it, Docker handles the restart as part of up -d.