Configuring the Network Proxy

To configure the Network Proxy:

Procedure

  1. Login to ml-cm or ml-tm using the following command:
    docker exec -it ml-cm /bin/bash
    or:
    docker exec -it ml-tm /bin/bash
  2. Edit the content in /etc/environment, as shown in the following example:
    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/vmware/bin"
    http_proxy=http://squid.example.com:3128
    http_proxy=https://squid.example.com:3128
    no_proxy=localhost,127.0.0.1,127.0.1.1,ml-db,ml-mem,ml-tm,ml-cm
  3. Logout of ml-cm or ml-tm using the following command:
    exit