Proxy support

In some deployments, the appliance needs to contact its CDN servers using organization’s proxy server. This howto will show you how to setup proxy configuration.

  1. Proxy configuration for RPM

  2. Proxy configuration for Docker

  3. Proxy configuration for IdM

Proxy configuration for RPM

To successfully install RPM packages, edit the /etc/yum.conf and add the following line (you need to supply your proxy address and port, of course):

...
proxy=http://somehost:3128
...

Verify that the appliance can contact the CDN by running dnf makecache command.

Proxy configuration for Docker

To download container images, Docker needs to know about the proxy too.

  1. Create systemd override file for the Docker service.

    [root@localhost ~]# mkdir /etc/systemd/system/docker.service.d/
    [root@localhost ~]# nano /etc/systemd/system/docker.service.d/http-proxy.conf
  2. Put the proxy configuration inside the override file (substitute the host and port for your proxy).

    [Service]
    
    Environment="HTTP_PROXY=http://somehost:3128"
    Environment="HTTPS_PROXY=http://somehost:3128"
    Environment="NO_PROXY=localhost,127.0.0.1"
  3. Reload the unit configuration and restart the Docker.

    [root@localhost ~]# systemctl daemon-reload
    [root@localhost ~]# systemctl restart docker

Proxy configuration for IdM

Please consult this howto.