Skip to content

Commit

Permalink
fix: podman
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Sep 20, 2024
1 parent 183c122 commit 8b3eb92
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions DevOps/Infrastructure-Solutions/Podman/podman.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Issues

`Error: failed to create volume "immich-data": giving /mnt/media-box/immich a label: setting selinux label for /mnt/media-box/immich to "system_u:object_r:container_file_t:s0:c785,c978" as shared: lsetxattr /mnt/media-box/immich: operation not supported`

An Volume was on an sshfs mount, the type was `DirectoryOrCreate`, it must be `Directory` or else selinux labeling is tried

```yaml
volumes:
- name: immich-data
hostPath:
path: /mnt/media-box/immich
type: Directory
```

0 comments on commit 8b3eb92

Please sign in to comment.