source https://github.com/nrobinaubertin/dockerfiles/tree/master/samba
100K+
source https://github.com/nrobinaubertin/dockerfiles/tree/master/samba
Simple, lightweight and secure Samba docker container based on Alpine Linux.

Samba is a re-implementation of the SMB networking protocol. It facilitates file and printer sharing among Linux and Windows systems as an alternative to NFS.
I am trying really hard to make a drop-in container, as simple as possible to setup.
Only one shared folder with all permissions to anybody on the local network: perfect for family use.
I'm not using the standard ports inside the container in order to not run samba as root.
But it shouldn't be a issue since you can bind them to the usual ones at run (see setup example).
Example command to build this image:
docker build -t samba .
Example command to run this container:
docker run --init -d -p 137-139:7137-7139 -p 445:7445 -v /path/to/share:/shared --name=samba samba
Content type
Image
Digest
Size
14.5 MB
Last updated
about 6 years ago
docker pull tom42/mysamba