Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1016 Bytes

Readme.md

File metadata and controls

35 lines (25 loc) · 1016 Bytes

Samba-server image

This Docker image contains a simple samba server.

It provides a public share accessable by the guest user and a restricted share only accessable with authentication.

Environment variables

  • ENABLE_PUBLIC_SHARE
    • Set to true to enable a public share accessable with the guest user, default: false.
  • SAMBA_USER
    • Username for authentication. For example SAMBA_USER=user
  • SAMBA_PASSWORD
    • Password for authentication. For example Username for authentication=placepasswordhere
  • SAMBA_WORKGROUP
    • The workgroup of the samba server. For example SAMBA_WORKGROUP=WORKGROUP

Volumes

To persist container data you can define some volumes. Directories that contain data are

  • /media/samba
    • Contains all data of the samba server
  • /media/samba/public
    • Contains the data of the public share
  • /media/samba/restricted
    • Contains the data of the restricted share

Development

To build the image locally run:

./docker-build.sh