Ubuntu Core 14.04 + Samba server.
Include password.txt with the password for smbd (by default this is "password").
The default password should be changed. To do so start up a container and then run docker exec <id> bash -c "echo -e '<password>\n<password>\n' | smbpasswd -s".
The user is "root" and the domain is "WORKGROUP". The folder you wish to share should be mounted under /data in the container.
Specify the ports manually using docker run -itd -p 137-139:137-139 -p 445:445 -v <share>:/data kaixhin/samba.
The shell can be entered as usual using docker run -it kaixhin/samba bash.
If you find this useful in research please consider citing this work.
Content type
Image
Digest
sha256:e0423e35d…
Size
108.8 MB
Last updated
about 10 years ago
docker pull kaixhin/samba