| 1 | version: "3" |
| 2 | services: |
| 3 | container1: |
| 4 | image: busybox |
| 5 | command: ["busybox", "sleep", "infinity"] |
| 6 | volumes: |
| 7 | - type: bind |
| 8 | source: ./host_test_text.txt |
| 9 | target: /test_text.txt |
| 10 | bind: |
| 11 | selinux: z |
| 12 | container2: |
| 13 | image: busybox |
| 14 | command: ["busybox", "sleep", "infinity"] |
| 15 | volumes: |
| 16 | - type: bind |
| 17 | source: ./host_test_text.txt |
| 18 | target: /test_text.txt |