You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 years ago | |
---|---|---|
Dockerfile | 7 years ago | |
README.md | 7 years ago | |
shares.txt | 7 years ago | |
start | 7 years ago | |
supervisor.conf | 7 years ago | |
supervisor_smb.conf | 7 years ago | |
users.txt | 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.