Samba 4 server running under s6 overlay V3 on Alpine Linux. Runs both smbd and nmbd services.
samba:
image: cloudax/alpine-samba-server
volumes:
# You must provide a Samba config file
- ./smb.conf:/etc/samba/smb.conf
# Shares
- ~/nas:/mnt/nas
- ~/videos:/mnt/videos:ro
ports:
- "137:137/udp"
- "138:138/udp"
- "139:139/tcp"
- "445:445/tcp"
environment:
- USERNAME=youruser
- PASSWORD=yourpw
[global]
workgroup = WORKGROUP
security = user
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = no
[NAS]
comment = NAS
path = /mnt/NAS
read only = No
valid users = youruser
write list = youruser
Content type
Image
Digest
sha256:be029cd60…
Size
26.8 MB
Last updated
14 days ago
docker pull cloudax/alpine-samba-server