README.md update examples to set permissions
This commit is contained in:
parent
79795881a4
commit
6969e57f21
@ -16,13 +16,13 @@ By default there are no shares configured, additional ones can be added.
|
||||
|
||||
## 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:
|
||||
|
||||
sudo docker run -it --name samba -p 139:139 -p 445:445 \
|
||||
-v /path/to/directory:/mount \
|
||||
-d dperson/samba
|
||||
-d dperson/samba -p
|
||||
|
||||
## Configuration
|
||||
|
||||
@ -105,11 +105,11 @@ Any of the commands can be run at creation with `docker run` or later with
|
||||
|
||||
### 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:
|
||||
|
||||
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 "example2;badpass" \
|
||||
-s "public;/share" \
|
||||
|
Loading…
Reference in New Issue
Block a user