github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/libcontainerd/supervisor/remote_daemon_options_linux.go (about) 1 package supervisor // import "github.com/docker/docker/libcontainerd/supervisor" 2 3 // WithOOMScore defines the oom_score_adj to set for the containerd process. 4 func WithOOMScore(score int) DaemonOpt { 5 return func(r *remote) error { 6 r.oomScore = score 7 return nil 8 } 9 }