| 1 |
version: "3" |
| 2 |
services: |
| 3 |
create_host_path_default_true: |
| 4 |
image: nopush/podman-compose-test |
| 5 |
command: ["/bin/busybox", "mkdir", "cont/test_dir/new_dir"] |
| 6 |
volumes: |
| 7 |
- type: bind |
| 8 |
source: ./test_dir |
| 9 |
target: /cont/test_dir |
| 10 |
create_host_path_true: |
| 11 |
image: nopush/podman-compose-test |
| 12 |
command: ["/bin/busybox", "mkdir", "cont/test_dir/new_dir"] |
| 13 |
volumes: |
| 14 |
- type: bind |
| 15 |
source: ./test_dir |
| 16 |
target: /cont/test_dir |
| 17 |
bind: |
| 18 |
create_host_path: true |
| 19 |
create_host_path_false: |
| 20 |
image: nopush/podman-compose-test |
| 21 |
command: ["/bin/busybox", "mkdir", "cont/test_dir/new_dir"] |
| 22 |
volumes: |
| 23 |
- type: bind |
| 24 |
source: ./test_dir |
| 25 |
target: /cont/test_dir |
| 26 |
bind: |
| 27 |
create_host_path: false |