I’m trying to install the Nomad Oasis with podman and podman-compose on a shared system where I don’t have root privileges.
I get permission errors of the type PermissionError: [Errno 13] Permission denied: '.volumes/fs/public' even though I’ve adjusted the user mapping and made .volumes accessible (read+write_ to everyone.
From the looks of it it does certainly look like an issue with the folder permissions. Note that you will also need to give execution permission to folders: this makes sure you can enter the folder and access files inside it.
I’ve followed the instructions from Install an Oasis - Documentation and downloaded the zipped template. I was not aware that the code is on GitHub and therefore searched for a Nomad repository.
It is indeed a permission error. The advantage of podman over Docker is that it can run rootless, which is beneficial for shared environments. But not having root permission also means that I can’t change the owner to arbitrary users, but step 3 requires that. As far as I see, the reason is that 1000 is hardcoded in the Dockerfile. I believe that user remapping is somehow possible and solves the issue. In docker-compose.yaml there is the user key for north which I’ve adjusted to my user and group ID. Maybe similar things are needed for the other images.
For someone knowledgeable with containers/Docker/podman this is probably easy to solve. But for me the interaction between user IDs in Dockerfile and docker-compose.yaml is not really clear at the moment
In that documentation you linked, the zipped template is indeed just downloaded from the nomad-distro-template repo, so this is fine.
As for podman: unfortunately we do not have any experience with it and cannot really help much there… Some users in our Discord server might have more experience.