Skip to content

mbT-Infrastructure/docker-samba-server

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published