mirror of https://github.com/jcbiellikltd/docker-samba-server with patch(es)
| example | ||
| s6 | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitattributes | ||
| Dockerfile | ||
| README.md | ||
Samba Server Container
Samba 4 server running under s6 overlay on Alpine Linux. Runs both smbd and nmbd services.
Configuration
See example directory for sample config file.
Quickstart
samba:
image: joebiellik/samba-server
volumes:
# You must provide a Samba config file
- ./smb.conf:/etc/samba/smb.conf
# Shares
- ~/projects:/mnt/projects
- ~/videos:/mnt/videos:ro
ports:
- "137:137/udp"
- "138:138/udp"
- "139:139/tcp"
- "445:445/tcp"
environment:
- USERNAME=joe
- PASSWORD=samba