Verify that you have successfully installed CA Gateway as a Docker container. Run this quick and unsecured test before configuring the SSL and CA connections.
Running the latest CA Gateway image
In a new terminal, run the latest CA Gateway image, mapping the internal CA Gateway port 8080 to the localhost port 8444.
[docker|podman] run -d --rm -p 8444:8080 -p 9444:9090 -v <HOST_CONFIG>:/etc/cagw/config cagw/api:latest
Where <HOST_CONFIG>
is the folder described in Creating the host configuration folder. For example:
docker run -d --rm -p 8444:8080 -p 9444:9090 -v /home/myuser/cagw/config:/etc/cagw/config cagw/api:latest
See the table below for a description of each option.
Option | Description |
---|---|
-d, --detach | Launches the container in the background. Skip this option to see the CA Gateway log output while running, although it might terminate CA Gateway when closing the terminal. |
-p, --expose | Binds a port. |
--rm | Cleans up the container and removes the file system when the container exits. |
-v, --volume | Maps the |
Refer to the Docker documentation for more details on the supported options.
Browsing to an endpoint
In the CA Gateway server, open a Web browser and navigate to:
http://localhost/cagw/v1
You can replace localhost
with the server's hostname or IP address. This URL omits the port number because the CA Gateway port is mapped to port 8444.
See Checking the CA Gateway health for how to check the CA Gateway health endpoints.