saltstack-formulas / docker-formula

Install and set up Docker
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
136 stars 330 forks source link

dockerd systemctl service - support for LimitNOFILE parameter #268

Closed mszumski-pcx closed 3 years ago

mszumski-pcx commented 3 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

This PR adds systemd LimitNOFILE (Number of File Descriptors ulimit -n) support.

Pillar / config required to test the proposed changes

docker:
  pkg:
    docker:
      service:
        limitnofile: 65000

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

noelmcloughlin commented 3 years ago

Hi @mszumski-pcx could you fix conflicts. Thanks for the PR.

noelmcloughlin commented 3 years ago

Also change the commit message to feat(systemd): support for LimitNOFILE in service or whatever, so Linters pass.

noelmcloughlin commented 3 years ago

@mszumski-pcx happy new year. Can you get PR ready for merge?

noelmcloughlin commented 3 years ago

conflicts - replaced with https://github.com/saltstack-formulas/docker-formula/pull/302