summaryrefslogtreecommitdiff
path: root/test/compose
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-08-02 16:22:59 -0400
committerChris Evich <cevich@redhat.com>2021-08-18 12:04:06 -0400
commitdc70382886c9ae14c57277eabe3d2ce552c618fd (patch)
treedba0d6ced0936234503ad85c3f20117b30b08f62 /test/compose
parent77f665200b81737da0c02c0ce97a183d57c602d3 (diff)
downloadpodman-dc70382886c9ae14c57277eabe3d2ce552c618fd.tar.gz
podman-dc70382886c9ae14c57277eabe3d2ce552c618fd.tar.bz2
podman-dc70382886c9ae14c57277eabe3d2ce552c618fd.zip
Fix AVC denials in tests of volume mounts
This becomes a problem on hosts with upgraded policies. Ref: https://github.com/containers/podman/issues/10522 Also, made a small change to compose-test setup to reduce runtime. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/compose')
-rw-r--r--test/compose/mount_and_label/docker-compose.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/compose/mount_and_label/docker-compose.yml b/test/compose/mount_and_label/docker-compose.yml
index 112d7e134..81fda2512 100644
--- a/test/compose/mount_and_label/docker-compose.yml
+++ b/test/compose/mount_and_label/docker-compose.yml
@@ -6,5 +6,7 @@ services:
- '5000:5000'
volumes:
- /tmp/data:/data:ro
+ security_opt:
+ - label=disable
labels:
- "io.podman=the_best"