Skip to content

Add pidsLimit option when creating containers #779

@menarguez

Description

@menarguez

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions