Skip to content

opsxcq/docker-samba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Samba

Docker Pulls License

A very simple SAMBA file server in a container !

Variables

  • Users - The list of users (command separated) that will have access to the system.
  • Passwords - For each user added to the system, create a variable with the username, the value of this variable will be the password.

Shares

Shares follow the default samba configuration standard and should be set in the SHARES_CONF variable:

[Temp]
path = "/share/"
read only = no
writable = yes
valid users = opsxcq
write list = opsxcq
admin users = opsxcq

Example docker-compose

version: "3"
services:

  samba:
    image: strm/samba
    environment:
      USERS: "opsxcq"
      opsxcq: "admin"
      SHARES_CONF: |
        [Temp]
        path = "/share/"
        read only = no
        writable = yes
        valid users = opsxcq
        write list = opsxcq
        admin users = opsxcq

    volumes:
      - "/tmp/:/share"
    ports:
      - 137:137/udp
      - 138:138/udp
      - 139:139
      - 445:455
      - 445:445/udp

Releases

No releases published

Packages

No packages published