github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/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 }