Skip to content

Commit fb5b90e

Browse files
committed
implement support for oom_score_adj
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 10a5d99 commit fb5b90e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/compose/create.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ func (s *composeService) getCreateOptions(ctx context.Context, p *types.Project,
397397
LogConfig: logConfig,
398398
GroupAdd: service.GroupAdd,
399399
Links: links,
400+
OomScoreAdj: int(service.OomScoreAdj),
400401
}
401402

402403
return &containerConfig, &hostConfig, networkConfig, nil

0 commit comments

Comments
 (0)