Microgateway docker container restart issue

Hi,

We have installed Edge Microgateway in a Docker container and it is working fine. But when we do a docker restart then microgateway does not comes up properly. It throws below error -

2020-08-26T02:55:21.996Z [22] [microgateway gateway] Edgemicro seems to be already running.

2020-08-26T02:55:21.997Z [22] [microgateway gateway] If the server is not running, it might because of incorrect shutdown of the prevous start.

2020-08-26T02:55:21.997Z [22] [microgateway gateway] Try removing /opt/apigee/edgemicro.sock and start again

Do we need to remove the edgemicro.sock file whenever container is restarted or is there any other way to start the gateway automatically?

0 1 227
1 REPLY 1

Has anyone faced this issue before and how this was fixed?