Last active
March 30, 2020 14:14
-
-
Save razodactyl/893c93da9243a1e7a7fde57c8370c870 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo docker run -it -p 137:137/udp -p 138:138/udp -p 445:445 --network host \ | |
-v "${HOME}:/mount" \ | |
-d dperson/samba -n -p \ | |
-u "jonathan;password" \ | |
-s "Public (Jonathan);/mount/Public;yes;no;yes;all;jonathan;jonathan;Comment goes here..." \ | |
-s "Downloads (Jonathan);/mount/Downloads;yes;no;yes;all;jonathan;jonathan;Downloads folder on Jonathan PC..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment