Skip to content

Security Proposal: add "--pids-limit" to "docker service create/update" option list #28618

@ghostplant

Description

@ghostplant

This limit can prevent from OS resource damage by applications inside the container using fork bomb attack.

And this issue can also be easy to implement referencing from "--limit-memory".

=> Setting pids value to: /sys/fs/cgroup/pids/docker/$container/pids.max

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/swarmkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions