Last active
October 20, 2021 17:49
-
-
Save hmahadik/3485de9936a7e2091ac7a50eb6e2da8c to your computer and use it in GitHub Desktop.
Command to run a samba server inside a docker container
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/sh | |
docker rm -f samba | |
docker run -dit --name samba --net host --privileged -v /home/developer:/developer -d dperson/samba -p -u "developer;" -s "developer;/developer;no;no;no;developer" -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment