Connect the Policy Manager in Docker

This topic describes how to connect the Policy Manager to the Container Gateway in a Docker deployment.
gateway
This topic describes how to connect the Policy Manager to the Container Gateway in a Docker deployment.
The Policy Manager is used to perform administrative tasks, such as creating or modifying services, or managing configurations. It is enabled when the environment variables
SSG_ADMIN_USERNAME
 and 
SSG_ADMIN_PASSWORD
 are defined.
Policy Manager connectivity may be disabled if your Container Gateway was deployed using the embedded database. To re-enable it, supply values for the
SSG_ADMIN_USERNAME
 and 
SSG_ADMIN_PASSWORD
environment variables.
To connect the Policy Manager to a Container Gateway:
  1. Launch the Policy Manager application. For more information, see Start the Policy Manager.  
  2. Enter your login details:
    • User Name:
      Enter the administrative user name, as defined by the
      SSG_ADMIN_USERNAME
      environment variable.
    • Password:
      Enter the administrative password, as defined by the
      SSG_ADMIN_PASSWORD
      environment variable.
    • Gateway:
      Enter the Docker Host IP address and HTTPS port, in the format:
      <DOCKER_HOST_IP>
      :
      <CONTAINER_HTTPS_PORT>
      , where:
      • <DOCKER_HOST_IP>
         is the IP address for the Docker Host hosting your Container Gateway(s). If Docker is running locally, use
        localhost
        . If Docker Machine is used, obtain the Docker Host IP address by running the
        docker-machine ls
         command. For example, the following output shows the Docker Host IP address as 192.168.99.103:
        NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS default * virtualbox Running tcp://192.168.99.103:2376 v17.10.0-ce
         
      • <CONTAINER_HTTPS_PORT>
         is the exposed HTTPS port for one of your Container Gateways. Obtain the Container Gateway port mappings by running the
        docker ps
         command. In the sample output below, port 33138 is used to connect the Policy Manager:
        0.0.0.0:33139->8080/tcp, 0.0.0.0:33138->8443/tcp, 0.0.0.0:33137->9443/tcp