CA API Management: Unable to start Gateway docker container

Document ID : KB000076448
Last Modified Date : 04/04/2018
Show Technical Document Details
When attempting to start the CA API Management Gateway Docker container via docker-compose it is observed that the container will start and terminate usually within a few seconds.

You may notice errors like the below

Exception configuring gateway: Error saving configuration 'Error during node configuration 'Database connection error 'Access denied for user 'gateway'@'x.x.x.x' (using password: YES)'.''


'ssg database does not exist'
This is typically caused by an incorrect setting in the docker compose YAML file.
The setting 'SSG_CLUSTER_COMMAND' should be set to create on the initial deployment and join on subsequent startups.

If you initially deploy using join it will be unable to locate the database as it has yet be be created.