Drop container resource limits from compose
Newer Docker Compose rejects pids_limit alongside deploy.resources.limits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9b9203c4bb
commit
5dac554050
2 files changed
-7
No files matched your search
@@ -34,12 +34,6 @@ services:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
pids_limit: 256
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.0"
|
||||
memory: 1g
|
||||
|
||||
logging:
|
||||
driver: json-file
|
||||
|
||||
Reference in new issue
Block a user