Skip to content

Commit

Permalink
store data in /mnt
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed May 27, 2024
1 parent 15158ec commit 893cd7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-notebooks-TEMPLATE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ jobs:
- name: Configure Podman
run: |
mkdir -p $HOME/.config/containers/
mkdir -p $HOME/.local/share/containers/tmp
cp containers.conf $HOME/.config/containers/containers.conf
cp storage.conf $HOME/.config/containers/storage.conf
# should at least reset storage when touching storage.conf
mkdir -p /mnt/containers/
podman system reset --force
- run: "make ${{ inputs.target }}"
Expand Down
4 changes: 2 additions & 2 deletions containers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

[engine]
# needed for reliability
retry=42
retry=100
# supposedly these images are faster to pull
compression_format="zstd:chunked"
compression_level=6
# defaults to /var/tmp, which is small
image_copy_tmp_dir="/home/runner/.local/share/containers/tmp"
image_copy_tmp_dir="storage"

[machine]

Expand Down
1 change: 1 addition & 0 deletions storage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[storage]
driver="overlay"
rootless_storage_path="/mnt/containers"

[storage.options]
# https://www.redhat.com/sysadmin/faster-container-image-pulls
Expand Down

0 comments on commit 893cd7e

Please sign in to comment.