https://www.redhat.com/sysadmin/rootless-podman
Under Allocating additional UIDs/GIDs:
- make sure you have
newuidmap
andnewgidmap
installed and have allocated ids for your normal user
for UID 2119470584, GID 2042662593 (try increasing the number of subordinate IDs in /etc/subuid and /etc/subgid
These are IDs are quite high but I don't know if that's abnormal. You can increase the number of IDs available using the instructions found under Changing the default number of IDs
You may also run into file permission issues once the container is started (or starting) because of how lsio handles permissions using PUID/PGID. To fix this you can (probably) do any of the following:
podman volume create msData
In docker-compose.yaml
under volumes
:
volumes:
- msData:/config
Using podman-compose
x-podman extension update docker-compose.yaml
:
version: '3.7'
services:
multi-scrobbler:
...
x-podman:
uidmaps:
- "1000:231072:65536"
gidmaps:
- "1000:231072:65536"
Based on these resources:
- https://www.reddit.com/r/podman/comments/1229g12/has_anyone_gotten_any_linuxserverio_images_to/
- https://www.smarthomebeginner.com/docker-to-podman-migration-guide/#Linuxserverio_Images
- https://www.smarthomebeginner.com/docker-to-podman-migration-guide/#Environmenal_Variables_in_the_env_File
Set permissions for your config folder based on the PUID and PGID you use:
podman unshare chown -R 1000:1000 /home/syber/multiscrobbler/config