Skip to main content

Privacera Documentation

Configure proxy for Privacera Platform

You can configure a proxy service to allow access to Privacera services. For more information, refer to the Docker documentation.

There are different ways to configure Docker to use a proxy server:

Configure proxy using proxy values

If your Docker host must use a proxy to access network resources, you must configure Docker to use the proxy and bypass it when necessary. Below is an example of the Docker configuration file. This file is usually located in the installing user’s home directory in .docker/config.json.

  1. Open the Docker configuration file.

    vi ~/.docker/config.json
  2. In the configuration file, add the following JSON to add proxy values:

    • PRIVACERA_HUB_REPO: Privacera Docker Hub repository where all the images are stored. To get the name of the repository, contact Privacera Sales.

    • auths: This section is managed by Docker and is usually already present. You do not need add it if it is not present.

    • noProxy: All IP addresses, hostnames, and CIDR blocks that must bypass the proxy, including the Privacera Manager host and Privacera services if hosted in Docker. Consult with your network team if you are uncertain what else must be in this section.

        "auths": {
                "<PRIVACERA_HUB_REPO>": {
                        "auth": "<some_key>"
        "proxies": {
                "default": {
                        "httpProxy": "<your_http_proxy_IP_address_and_port>",
                        "httpsProxy": "<your_https_proxy_IP_address_and_port>",
                        "noProxy": "localhost,,,<local_IP_address>,
  3. Restart Docker service.

    sudo service docker restart

Configure proxy using environment variables

  1. Create a new .conf file to override the Docker file.

    sudo vi /etc/systemd/system/docker.service.d/override.conf
  2. Add the following environments to the file:

  3. Restart the Docker file:

    sudo systemctl restart docker.service
    sudo systemctl daemon-reload