docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

Docker Service Scale command doesn't support --timeout #2791

Closed PunChaFeng closed 7 years ago

PunChaFeng commented 7 years ago

Based on my test, when I scale down a service, the container is stopped in 1 seconds after SIGTERM is sent to container. But I'd like to give it more timeout to gracefully shutting down my app. I see docker compose has the --timeout parameter to control the timeout but docker swarm not.

nishanttotla commented 7 years ago

@PunChaFeng this is a Docker Swarm mode issue, not related to this repo. Could you please open it on github.com/docker/docker?