Skip to content

Commit

Permalink
Add podman overaly config for root containers
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarco76 committed Dec 17, 2024
1 parent ddb0b11 commit b6062c1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ca-container-migration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ jobs:
- name: Install Podman
run: |
docker exec pki dnf install -y podman
docker exec pki mkdir -p /root/.config/containers
docker exec -i pki tee /root/.config/containers/storage.conf << EOF
[storage]
driver = "overlay"
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"
EOF
docker exec pki podman info
- name: Load PKI images into root user's space
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/ca-container-system-service-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ jobs:
- name: Install Podman
run: |
docker exec pki dnf install -y podman
docker exec pki mkdir -p /root/.config/containers
docker exec -i pki tee /root/.config/containers/storage.conf << EOF
[storage]
driver = "overlay"
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"
EOF
- name: Load PKI images into root user's space
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ca-container-user-service-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:
- name: Install Podman
run: |
docker exec pki dnf install -y podman fuse-overlayfs
docker exec pki mkdir -p /root/.config/containers
docker exec -i pki tee /root/.config/containers/storage.conf << EOF
[storage]
driver = "overlay"
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"
EOF
docker exec pki podman info
- name: Configure rootless container
Expand Down

0 comments on commit b6062c1

Please sign in to comment.