Skip to content

Commit

Permalink
docs/reference: dockerd: remove default oom-score-adjust
Browse files Browse the repository at this point in the history
The daemon no longer adjusts its oom-score by default; see

- moby/moby@2b8e68e
- moby/moby@cf7a5be

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit c730a8e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Apr 13, 2023
1 parent 6bc4bf4 commit aa85421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/commandline/dockerd.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Options:
--network-control-plane-mtu int Network Control plane MTU (default 1500)
--no-new-privileges Set no-new-privileges by default for new containers
--node-generic-resource list Advertise user-defined resource
--oom-score-adjust int Set the oom_score_adj for the daemon (default -500)
--oom-score-adjust int Set the oom_score_adj for the daemon
-p, --pidfile string Path to use for daemon PID file (default "/var/run/docker.pid")
--raw-logs Full timestamps without ANSI coloring
--registry-mirror list Preferred registry mirror
Expand Down Expand Up @@ -1259,7 +1259,7 @@ This is a full example of the allowed configuration options on Linux:
"NVIDIA-GPU=UUID1",
"NVIDIA-GPU=UUID2"
],
"oom-score-adjust": -500,
"oom-score-adjust": 0,
"pidfile": "",
"raw-logs": false,
"registry-mirrors": [],
Expand Down

0 comments on commit aa85421

Please sign in to comment.