mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
Merge pull request #1052 from riyazdf/oom-adj-system-containers
Adjust OOM scores for system containers
This commit is contained in:
commit
f4774d317d
@ -12,7 +12,7 @@ config.json:
|
||||
CONTAINER=$$( docker create $(RNGD_IMAGE) /dev/null ) && \
|
||||
docker export $$CONTAINER | tar -xf - -C rootfs $(EXCLUDE) && \
|
||||
docker rm $$CONTAINER && \
|
||||
../riddler.sh --cap-drop all --cap-add SYS_ADMIN --read-only $(RNGD_IMAGE) /bin/tini /usr/sbin/rngd -f >$@
|
||||
../riddler.sh --cap-drop all --cap-add SYS_ADMIN --read-only --oom-score-adj -800 $(RNGD_IMAGE) /bin/tini /usr/sbin/rngd -f >$@
|
||||
|
||||
clean:
|
||||
rm -rf rootfs config.json
|
||||
|
Loading…
Reference in New Issue
Block a user