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

This commit is contained in:
Andrey Viktorov
2026-01-10 15:13:03 +11:00
committed by GitHub
parent 1ea1d15845
commit 6c2f85d38a
8 changed files with 68 additions and 0 deletions
+2
View File
@@ -43,6 +43,8 @@ func ServiceSpecFromCompose(project *types.Project, serviceName string) (api.Ser
spec := api.ServiceSpec{
Container: api.ContainerSpec{
CapAdd: service.CapAdd,
CapDrop: service.CapDrop,
Command: service.Command,
Entrypoint: service.Entrypoint,
Env: env,