We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 063bd24 commit 4051eaaCopy full SHA for 4051eaa
tests/integration/capabilities.bats
@@ -136,3 +136,11 @@ function teardown() {
136
[[ "${output}" == *"CapBnd: 0000000400000021"* ]]
137
[[ "${output}" == *"CapAmb: 0000000000000000"* ]]
138
}
139
+
140
+@test "runc run [ambient caps not set in inheritable result in a warning]" {
141
+ update_config ' .process.capabilities.inheritable = ["CAP_KILL"]
142
+ | .process.capabilities.ambient = ["CAP_KILL", "CAP_AUDIT_WRITE"]'
143
+ runc run test_amb
144
+ [ "$status" -eq 0 ]
145
+ [[ "$output" == **"unable to set Ambient capabilities:"* ]]
146
+}
0 commit comments