Is docker service rm performing a graceful shutdown on nodes?


We have a little swarm (all docker 17.10.0-ce) here using a mix of elastic, logstash, httpd of docker images.

In a docker service, when nodes must be stopped (e.g. the service is being removed, number of replica is decreased): are container simply shot down w/o warning, or are they sent a SIGTERM and then possibly a SIGKILL (i.e. like if they’re issued a docker stop command)?

Thanks for the help!