Jump to navigation Jump to search
Samba is a free software which re-implement the SMB networking protocol. Samba can be run on most UNIX-like system, such as Linux, FreeBSD, etc.
Samba could be the easiest way to launch an SMB server.
version: '3' services: samba: image: dperson/samba:latest environment: TZ: 'Asia/Shanghai' networks: - default ports: - "137:137/udp" - "138:138/udp" - "139:139/tcp" - "445:445/tcp" tmpfs: - /tmp read_only: true restart: always stdin_open: true tty: true volumes: - <volume>:/mnt command: '-s "Shared;/mnt;yes;no;no;<username>" -u "<username>;<password>" -p'