Sign inSign up

strm/samba

By strm

Updated over 7 years ago

Samba file sharing service for docker !

Image
0

10K+

strm/samba repository overview

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

Tag summary

Content type

Image

Digest

Size

122.7 MB

Last updated

over 7 years ago

docker pull strm/samba