portainer/app/docker
cedric-crouzet-penbase b349f16090 fix(containers): remove hardcoded container stop/restart timeout
REST call to stop/restart a container overrides the default stop timeout (before kill) with hardcoded 5 seconds.
Containers already have a default stop timeout handled by the engine API (https://github.com/moby/moby/blob/master/client/container_stop.go).
With this hardcoded 5 seconds, the containers get killed after 5 seconds even if they define a custom greater stop timeout.
Another solution would be to not hardcode the 5 seconds but rather use a global editable setting.
2018-06-13 16:04:24 +02:00
..
components feat(stacks): support compose v2.0 stack (#1963) 2018-06-11 15:13:19 +02:00
filters feat(stacks): support compose v2.0 stack (#1963) 2018-06-11 15:13:19 +02:00
helpers fix(tasks): fix an issue when filtering tasks (#1913) 2018-05-19 10:47:58 +02:00
models feat(stacks): support compose v2.0 stack (#1963) 2018-06-11 15:13:19 +02:00
rest fix(containers): remove hardcoded container stop/restart timeout 2018-06-13 16:04:24 +02:00
services feat(stacks): support compose v2.0 stack (#1963) 2018-06-11 15:13:19 +02:00
views feat(stacks): support compose v2.0 stack (#1963) 2018-06-11 15:13:19 +02:00
__module.js feat(stacks): support compose v2.0 stack (#1963) 2018-06-11 15:13:19 +02:00