README.md update examples to set permissions

This commit is contained in:
David Personette 2019-08-27 06:49:59 -04:00
parent 79795881a4
commit 6969e57f21

View File

@ -16,13 +16,13 @@ By default there are no shares configured, additional ones can be added.
## Hosting a Samba instance ## Hosting a Samba instance
sudo docker run -it -p 139:139 -p 445:445 -d dperson/samba sudo docker run -it -p 139:139 -p 445:445 -d dperson/samba -p
OR set local storage: OR set local storage:
sudo docker run -it --name samba -p 139:139 -p 445:445 \ sudo docker run -it --name samba -p 139:139 -p 445:445 \
-v /path/to/directory:/mount \ -v /path/to/directory:/mount \
-d dperson/samba -d dperson/samba -p
## Configuration ## Configuration
@ -105,11 +105,11 @@ Any of the commands can be run at creation with `docker run` or later with
### Setting the Timezone ### Setting the Timezone
sudo docker run -it -e TZ=EST5EDT -p 139:139 -p 445:445 -d dperson/samba sudo docker run -it -e TZ=EST5EDT -p 139:139 -p 445:445 -d dperson/samba -p
### Start an instance creating users and shares: ### Start an instance creating users and shares:
sudo docker run -it -p 139:139 -p 445:445 -d dperson/samba \ sudo docker run -it -p 139:139 -p 445:445 -d dperson/samba -p \
-u "example1;badpass" \ -u "example1;badpass" \
-u "example2;badpass" \ -u "example2;badpass" \
-s "public;/share" \ -s "public;/share" \