Skip to content

Add pidsLimit option when creating containers #779#780

Closed
menarguez wants to merge 2 commits intodocker-java:masterfrom
loganbruns:pidsLimitBranch
Closed

Add pidsLimit option when creating containers #779#780
menarguez wants to merge 2 commits intodocker-java:masterfrom
loganbruns:pidsLimitBranch

Conversation

@menarguez
Copy link
Copy Markdown

@menarguez menarguez commented Jan 12, 2017

Enable pid limitation is a cgroups configuration that is able to limit the number of processes that a container can create. This setting is extremely useful as it can prevent fork bombs.

For more details see pids.max https://www.kernel.org/doc/Documentation/cgroup-v1/pids.txt

I have created a fix for this and will soon submit a pull request to HostConfig.java with Testing done.


This change is Reviewable

docker-java#779

Enable pid limitation is a cgroups configuration that is able to limit
the number of processes that a container can create. This setting is
extremely useful as it can prevent fork bombs.

For more details see pids.max
https://www.kernel.org/doc/Documentation/cgroup-v1/pids.txt
@menarguez
Copy link
Copy Markdown
Author

Hi please comment and merge this change or #734. Thank you very much!

@KostyaSha
Copy link
Copy Markdown
Member

Replaced by #764

@KostyaSha KostyaSha closed this Jan 17, 2017
@KostyaSha KostyaSha added this to the 3.0.7 milestone Jan 17, 2017
@menarguez
Copy link
Copy Markdown
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants