Skip to content

Commit

Permalink
implement support for oom_score_adj
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof committed Nov 25, 2022
1 parent 10a5d99 commit fb5b90e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/compose/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ func (s *composeService) getCreateOptions(ctx context.Context, p *types.Project,
LogConfig: logConfig,
GroupAdd: service.GroupAdd,
Links: links,
OomScoreAdj: int(service.OomScoreAdj),
}

return &containerConfig, &hostConfig, networkConfig, nil
Expand Down

0 comments on commit fb5b90e

Please sign in to comment.