Comment 12 for bug 1845244

Revision history for this message
Will Szumski (willjs) wrote :

>> Why don't we use a restart policy of always by the way? Is it because we manually send containers signals for a clean shutdown?

> It means containers can be stopped manually if necessary and Docker won't try to restart them.

Isn't that what always does? From, https://docs.docker.com/config/containers/start-containers-automatically/:

always: Always restart the container if it stops. If it is manually stopped, it is restarted only when Docker daemon restarts or the container itself is manually restarted. (See the second bullet listed in restart policy details)