docker pull dperson/samba
#best practice , order is important!
docker run -it --name samba -p 139:139 -p 445:445 \
-v /path/to/local/directory:/mount \
-v /etc/localtime:/etc/localtime:ro \
dperson/samba -p \
-u "user;password" \
-s "SMBshareName;/mount;yes;no;no;user;user;commet"
docker run -it -d --name samba -p 139:139 -p 445:445 \
-v /home/test:/share \
-v /etc/localtime:/etc/localtime:ro \
dperson/samba -p \
-u "kuru;kuru123" \
-s "humeng;/share;yes;no;no;kuru;kuru;docker samba"
docker run -it -d --name samba -p 139:139 -p 445:445
-v /mnt/sambaRoot:/share
-v /etc/localtime:/etc/localtime:ro
dperson/samba -p
-u "kuru;kuru123"
-s "humeng;/share;yes;no;no;kuru;kuru;docker samba"