portainer/app/docker/rest
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
..
response fix(log-viewer): strip headers in container logs when TTY is disabled (#1861) 2018-05-04 09:45:05 +02:00
build.js feat(image-build): add the ability to build images (#1672) 2018-02-28 07:19:06 +01:00
commit.js feat(image-build): add the ability to build images (#1672) 2018-02-28 07:19:06 +01:00
config.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
container.js fix(containers): remove hardcoded container stop/restart timeout 2018-06-13 16:04:24 +02:00
exec.js feat(agent): add agent support (#1828) 2018-05-06 09:15:57 +02:00
image.js feat(agent): add agent support (#1828) 2018-05-06 09:15:57 +02:00
network.js feat(agent): add agent support (#1828) 2018-05-06 09:15:57 +02:00
node.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
plugin.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
secret.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
service.js feat(agent): add agent support (#1828) 2018-05-06 09:15:57 +02:00
swarm.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
system.js feat(agent): add agent support (#1828) 2018-05-06 09:15:57 +02:00
task.js fix(log-viewer): strip headers in container logs when TTY is disabled (#1861) 2018-05-04 09:45:05 +02:00
volume.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00