Smbd in a container
Go to file
Dave Pedu 93abf65efb initial commit 2016-01-20 20:40:16 -08:00
Dockerfile initial commit 2016-01-20 20:40:16 -08:00
README.md initial commit 2016-01-20 20:40:16 -08:00
shares.txt initial commit 2016-01-20 20:40:16 -08:00
start initial commit 2016-01-20 20:40:16 -08:00
supervisor.conf initial commit 2016-01-20 20:40:16 -08:00
supervisor_smb.conf initial commit 2016-01-20 20:40:16 -08:00
users.txt initial commit 2016-01-20 20:40:16 -08:00

README.md

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.