1
0
mirror of https://github.com/docker/cli.git synced 2025-08-18 18:22:03 +03:00
Files
cli/docs/reference/commandline
Michael Crosby e3f04f5d20 Add --oom-score-adjust to daemon
This adds an `--oom-score-adjust` flag to the daemon so that the value
provided can be set for the docker daemon's process.  The default value
for the flag is -500.  This will allow the docker daemon to have a
less chance of being killed before containers do.  The default value for
processes is 0 with a min/max of -1000/1000.

-500 is a good middle ground because it is less than the default for
most processes and still not -1000 which basically means never kill this
process in an OOM condition on the host machine.  The only processes on
my machine that have a score less than -500 are dbus at -900 and sshd
and xfce( my window manager ) at -1000.  I don't think docker should be
set lower, by default, than dbus or sshd so that is why I chose -500.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-02 00:07:50 +00:00
..
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:50 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:06:58 +00:00
2017-06-02 00:07:50 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:50 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:50 +00:00
2017-06-02 00:07:50 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:45 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00
2017-06-02 00:07:49 +00:00