Remove an existing Broker Client
Last updated
Last updated
More information
Snyk privacy policy© 2024 Snyk Limited | All product and company names and logos are trademarks of their respective owners.
This section applies only if you already have a running Broker Client. If you do not have a Broker Client yet, proceed to Create a network for the Broker Client and Code Agent communication.
If you have a running Broker Client for the same Organization and the same Integration, stop and remove it before you set up a new Broker Client for the Code Agent. Since the Broker Client needs to communicate with the Code Agent, and this communication is configured in the setup commands of the Broker Client container, you cannot use an existing Broker Client container for the Code Agent operation.
The new Broker Client that you set up for the Code Agent can also serve the Broker deployment for Snyk Open Source and Snyk IaC for the same Snyk Organization and the same SCM. For Snyk Container, you must set up an additional Broker Client.
To find out if you have a running Broker Client, use the Docker Process Status command, which provides a list of all the containers that are up and running on a machine.
If you have a running Broker Client, this command also provides you with the details you need in order to remove the running Broker Client. If you find a running Broker Client, you only need to remove it if it is configured for the same Snyk Organization and the same SCM as the Code Agent.
Run the following:
If you have a running Broker Client, your output is similar to the following:
To remove the Broker Client container, run the following:
where container_ID_or_name
is the ID or name of the container of the running Broker Client. You can obtain these details by using the docker ps
command, for example: