more conservative pid_limit example
This commit is contained in:
parent
0d4dd39aac
commit
080ce38841
@ -148,7 +148,7 @@ Use cgroups to restrict access to hardware and system resources. You likely don'
|
|||||||
```
|
```
|
||||||
mem_limit: 4g
|
mem_limit: 4g
|
||||||
cpus: 4
|
cpus: 4
|
||||||
pids_limit: 100
|
pids_limit: 256
|
||||||
```
|
```
|
||||||
|
|
||||||
More runtime options can be found in [the official documentation](https://docs.docker.com/config/containers/resource_constraints/). All of them should have a [Compose spec](https://github.com/compose-spec/compose-spec/blob/master/spec.md) equivalent.
|
More runtime options can be found in [the official documentation](https://docs.docker.com/config/containers/resource_constraints/). All of them should have a [Compose spec](https://github.com/compose-spec/compose-spec/blob/master/spec.md) equivalent.
|
||||||
|
Loading…
Reference in New Issue
Block a user