export HTTP_PROXY=<proxy-method>://<proxy-server>:<proxy-port>
Configuring a Network Proxy for PDK
If you use a network proxy to connect to the internet, you might have to define the network proxy for the software tools used by Flex Gateway Policy Development Kit (PDK). Besides Docker, all tools downloaded in PDK prerequisites accept the HTTP_PROXY
and HTTPS_PROXY
environment variables.
To configure your environment variable, refer to Configure a Network Proxy.
To use Docker with a network proxy, see Configure a Network Proxy for Docker.
Depending on your network proxy, you might have to define the domains the PDK tools access in your proxy’s allowlist. |
Configure a Network Proxy
Configure your HTTP_PROXY
or HTTPS_PROXY
environment variables by running one of the following commands after replacing the variable values with your information:
-
HTTP_PROXY
: -
HTTPS_PROXY
:export HTTPS_PROXY=<proxy-method>://<proxy-server>:<proxy-port>
-
If your network proxy requires authentication, use the following command:
export HTTPS_PROXY=<proxy-method>://<username>:<password>@<proxy-server>:<proxy-port>
Configure a Network Proxy for Docker
Integration testing and the debugging environment require Docker.
Docker requires access to the internet to pull Docker images. To configure a network proxy for Docker, refer to the following Docker documentation for your relevant use case: