Skip to main content

Privacera Platform

Proxy configuration

These are details for configuring a proxy service to allow access to Privacera services, for more information see the Docker documentation. There are different ways to configure Docker to use a proxy server, below explain how to using proxy values and using environment variables.

Proxy configuration 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
Proxy configuration 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 below environments to the file:

  3. Restart the Docker file:

    sudo systemctl restart docker.service
    sudo systemctl daemon-reload