docker-samba/README.md

15 lines
460 B
Markdown
Raw Permalink Normal View History

2016-01-20 20:40:16 -08:00
docker-samba
============
Smbd (for file shares) in a docker container.
* Build: `docker build -t smbd .`
* Run: `docker run -v /host/users.txt:/users.txt -v /host/shares.txt:shares.txt -v /host/sharedir:/mnt/share -p 445 smbd`
Config
------
For users, users.txt should contain colon separated username:password pairs. This file must end with a newline!
For shares, shares.txt is appended to the end of smb.conf at runtime. Shares should be defined here.