this post was submitted on 27 Oct 2025
227 points (99.1% liked)

Linux

10208 readers
592 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Let’s walk through what Podman is and how to use it as a Docker alternative on Linux. Expect a straightforward guide on installing Podman, running containers with it, and understanding the basics.

you are viewing a single comment's thread
view the rest of the comments
[–] Railcar8095@lemmy.world 4 points 3 weeks ago (2 children)

I am struggling to access a smb server with podman. I have it mounted on the host using fstab, but many podman containers refuse to access with permission issues, even setting uid:gid to 1000:1000 and giving ownership with unshare.

Any hint? I know there's not much detail, but I think I'm missing something fundamental

[–] entwine@programming.dev 7 points 3 weeks ago

Check out this blog post which details how uids work within rootless containers. It's useful troubleshooting knowledge to have.

[–] FooBarrington@lemmy.world 6 points 3 weeks ago (1 children)

Could be an SELinux issue. Look up mounting with the :z/:Z option.

[–] Railcar8095@lemmy.world 4 points 3 weeks ago

Tried that :(.

Seems to be something about the smb share itself, because of I point to a folder on the drive it works, only fails when it's a mounted samba share.

I'll need to make a post with ask the details, thanks in any case!