Step 3: Creating a network for the Broker Client and Code Agent communication
To run Snyk Broker with the Code Agent, you must establish a network connection between them. To do this you can create a Docker bridge network as explained here.
To create a Docker bridge network run:
docker network create <network_name>where network_name is a name for the new network between the Broker Client and the Code Agent, for example:
docker network create mySnykBrokerNetworkwhere mySnykBrokerNetworkis the name of the new network.
To verify the network creation run:
docker network lsYour output is similar to the following:
NETWORK ID NAME DRIVER SCOPE
cb352a803eb0 mySnykBrokerNetwork bridge localLast updated
Was this helpful?

