Stopping a Docker Container for Integration Server
The docker stop command stops a running container. By default, the docker stop command waits 10 seconds for a container to stop before Docker kills the container. However, the default wait time of 10 seconds is not sufficient for Integration Server to complete a graceful shut down. When using the docker stop command, use the --time option (-t) to specify a longer wait time that will allow Integration Server to shut down gracefully.
The number of seconds an Integration Server needs to complete a graceful shut down depends on the number of shutdown services configured for Integration Server and the amount of time it takes for those shutdown services to execute to completion. Software AG recommends that at a minimum, for an Integration Server with no shutdown services, set a wait time to at least 30 seconds. Increase the wait time based on the number of shut down services and the time required for those services to execute.