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_PASSWORD are defined.
Note: 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_PASSWORD environment variables.
To connect the Policy Manager to a Container Gateway:
<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