mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
feat: add support for cap_add and cap_drop compose keys (#238)
This commit is contained in:
1 parent
1ea1d15845
commit
6c2f85d38a
8 files changed
+68
No files matched your search
@@ -100,6 +100,8 @@ func TestServiceSpecFromCompose(t *testing.T) {
|
||||
Name: "test",
|
||||
Mode: api.ServiceModeReplicated,
|
||||
Container: api.ContainerSpec{
|
||||
CapAdd: []string{"NET_ADMIN"},
|
||||
CapDrop: []string{"ALL"},
|
||||
Command: []string{"nginx", "updated", "command"},
|
||||
Entrypoint: []string{"/updated-docker-entrypoint.sh"},
|
||||
Env: map[string]string{
|
||||
|
||||
Reference in new issue
Block a user