Skip to content

Commit

Permalink
README.md update examples to set permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed Aug 27, 2019
1 parent 7979588 commit 6969e57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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" \
Expand Down

0 comments on commit 6969e57

Please sign in to comment.