Tutorial
Docker Samba setup with permission management for Raspberry Pi
A pragmatic Docker Samba setup where groups, users and shares are described centrally through compose.yaml so that internal network shares can access the same host directories in a clean and consistent way.
As you have probably already noticed, an internal Samba setup is quick to get running, but it becomes messy as soon as multiple shares, users, groups and different responsibilities come together. That is exactly the point where this Docker Samba setup comes in.
The difference compared to many simple Samba containers is not just that a single share is exposed, but that groups, users and shares are built directly from the startup parameters. That keeps the configuration comparatively compact, even when several directories with different access rules are involved.
Read more: Docker Samba setup with permission management for Raspberry Pi
As you have probably already noticed, permission handling between Docker containers and host users can be a tricky issue. That is exactly the point where this Docker LAMP setup comes in.