- Create your smb.conf file
- Create your user file. It should be formatted like so:
username password uid gid
username2 password2 uid2 gid2
...
To run:
docker run \
--name samba \
-v /opt/samba/users:/users:ro \
-v /opt/samba/smb.conf:/etc/samba/smb.conf:ro \
-v /data:/data \
-p 139:139 -p 445:445 \
ghcr.io/kmlucy/docker-samba