Container Registry Agent advanced configuration using Docker
For instructions on installation of the Broker Container Registry Agent using Docker, see Snyk Broker - Container Registry Agent. See Install Broker for Container Registry using Helm for instructions on the Helm method.
Container Registry Agent server HTTPS configuration
The Container Registry Agent (CRA) runs an HTTP server by default. CRA can be configured to run an HTTPS server for local connections. This requires providing an SSL certificate and a private key to the Docker container at runtime.
For example, if your certificate files are found locally at ./private/container-registry-agent.crt
and ./private/container-registry-agent.key
, provide these files to the Docker container by mounting the folder and using the HTTPS_CERT
and HTTPS_KEY
environment variables:
Container Registry and Broker Client with an internal certificate
By default, the Container Registry Agent establishes HTTPS connections to the Container Registry and Broker Client. If your Container Registry or Broker Client is serving an internal certificate (signed by your own CA), you can provide the CA certificate to the Container Registry Agent. For example, if your CA certificate is at ./private/ca.cert.pem
, provide it to the Docker container by mounting the folder and using the NODE_EXTRA_CA_CERTS
environment variable:
Last updated