feat: add support for cap_add and cap_drop compose keys (#238)

This commit is contained in:
Andrey Viktorov authored and GitHub committed 2026-01-10 15:13:03 +11:00
1 parent 1ea1d15845
commit 6c2f85d38a
8 files changed
+68

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
services:
test:
cap_add:
- NET_ADMIN
cap_drop:
- ALL
command: ["nginx", "updated", "command"]
cpus: 0.5
entrypoint: ["/updated-docker-entrypoint.sh"]