sap-cloud-connector-docker icon indicating copy to clipboard operation
sap-cloud-connector-docker copied to clipboard

SAPCC Container exits

Open alaxalves opened this issue 5 years ago • 3 comments

I noticed that after X time the container stops for itself. Is there a way to keep the container running ? Is that a default config of SAP?

alaxalves avatar Jun 30 '20 21:06 alaxalves

I've not noticed that so far. The container would stop if SAPCC stops. So my first assumption would be that for some reason SAPCC stops. You could have a docker setup that monitors the SAPCC container and in case of an unexpected shutdown it simply restart the SAPCC container. However, I'm more interested to find out what causes the SAPCC container to stop.

Do you have any more details? Is it always the same period of time? How long is the timeframe? Did anyone else notice this behavior?

nzamani avatar Jul 14 '20 06:07 nzamani

Well I have set the --restart=always flag to the initialization command and it worked the way I wanted. The timeframe seems to be of 24h, so after 24h up the container exits, and it seems to always be this amount of time.

alaxalves avatar Jul 15 '20 20:07 alaxalves

I've updated the dockerfile. Would you mind checking whether the new one still stop after x time?

nzamani avatar Jan 24 '21 18:01 nzamani