Before you begin, you must download and install the BlueCat REST API image from Quay
Downloading and installing from Quay
From the host machine, log in to your Quay account using the following commands:
docker login quay.io Username: <Quay username> Password: <Quay password>Run the custom Gateway image using the following command:
docker run -d \ -p <HTTP port>:8000 \ -p <HTTPS port>:44300 \ -v <Gateway log directory>:/logs/ \ -e BAM_IP=<Your Address Manager IP address> \ --name <Gateway container name> \ quay.io/bluecat/rest:25.3Where:
docker runcreates a new Docker container.-dindicates that the Docker container runs in the detached mode. The Docker container runs in your terminal background and does not receive any input or display any output.-p <HTTP port>:8000represents the allocation of external ports for use. Port8000in the container is allocated to the defined<http_port>on the Docker host.-p <HTTPS port>:44300represents the allocation of external ports for use. Port44300in the container is allocated to the defined<https_port>on the Docker host.-v <GATEWAY_LOG_DIR>:/logs/maps a Docker logs volume (recommended) or a logs directory on your local machine.-e BAM_IP=<Your Address Manager IP address>specifies the IP address of the Address Manager server that is integrated with Gateway. You must enter the Address Manager IP address as an environment variable when running the Gateway container for the first time.quay.io/bluecat/rest:25.3indicates the Gateway REST API version from which the container is created.Note: If the image has already been pulled and is available locally, the container is created from that image. If the image is not available locally, the image is pulled from the Quay.io cloud registry.