Sign inSign up

sixeyed/samba

By sixeyed

•Updated over 7 years ago

Samba server, FROM dperson/samba

Image
9

500K+

sixeyed/samba repository overview

Samba server⁠ - for file shares accessible to Linux, Windows & Mac clients.

FROM dperson/samba⁠ with additional UDP ports mapped.

Usage, mapping the /audio/music folder on the host as an SMB share called music, with public browse, read-write and guest access:

  • docker run -p 139:139 -p 445:445 -p 137:137/udp -p 138:138/udp -v /audio/music:/music -d sixeyed/samba -s "music;/music;yes;no;yes;all"

OR using Docker Compose:

samba:
 container_name: samba
 hostname: samba
 image: sixeyed/samba
 volumes:
  - /audio:/mnt/audio
 ports:
  - "139:139"
  - "445:445"
  - "137:137/udp"
  - "138:138/udp"
 command: samba.sh -s "music;/mnt/audio/music;yes;no;yes;all" 
 mem_limit: 1g
 restart: always

Connect to the share using smb:///music and sign in with the guest account (if prompted).

Tag summary

Content type

Image

Digest

Size

85.9 MB

Last updated

over 7 years ago

docker pull sixeyed/samba