github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/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 }