Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit cfe8c54

Browse files
authored
Use shared cache
This will allow two concurrently running tasks to access the same cache. From the manual: The z option tells Podman that two containers share the volume content. As a result, Podman labels the content with a shared content label. Shared volume labels allow all containers to read/write content. The Z option tells Podman to label the content with a private unshared label.
1 parent 2754017 commit cfe8c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ start_container() {
6060
podman run \
6161
--detach \
6262
--name "$CONTAINER_ID" \
63-
--volume "$CACHE_DIR:/home/user/cache":Z \
63+
--volume "$CACHE_DIR:/home/user/cache":z \
6464
"${PODMAN_RUN_ARGS[@]}" \
6565
"$IMAGE"\
6666
sleep 999999999

0 commit comments

Comments
 (0)