Skip to content

Instantly share code, notes, and snippets.

@hmahadik
Last active October 20, 2021 17:49
Show Gist options
  • Save hmahadik/3485de9936a7e2091ac7a50eb6e2da8c to your computer and use it in GitHub Desktop.
Save hmahadik/3485de9936a7e2091ac7a50eb6e2da8c to your computer and use it in GitHub Desktop.
Command to run a samba server inside a docker container
#!/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