Smbd in a container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Dave Pedu 93abf65efb initial commit 7 years ago
Dockerfile initial commit 7 years ago
README.md initial commit 7 years ago
shares.txt initial commit 7 years ago
start initial commit 7 years ago
supervisor.conf initial commit 7 years ago
supervisor_smb.conf initial commit 7 years ago
users.txt initial commit 7 years ago

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.