cloudax/alpine-samba-server

By cloudax

Updated 14 days ago

Samba Server docker

Image
Networking
1

4.1K

cloudax/alpine-samba-server repository overview

Samba Server Container

Docker Pulls Docker Stars

Samba 4 server running under s6 overlay V3 on Alpine Linux. Runs both smbd and nmbd services.

Quickstart example

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

SMB example: smb.conf

[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


Tag summary

Content type

Image

Digest

sha256:be029cd60

Size

26.8 MB

Last updated

14 days ago

docker pull cloudax/alpine-samba-server