Merge pull request #1 from MorrisJobke/patch-1

--rm and -d are conflicting options
This commit is contained in:
dperson 2015-01-24 16:58:57 -05:00
commit 6b74023473

View File

@ -16,7 +16,7 @@ By default there are no shares configured, additional ones can be added.
## Hosting a Samba instance
sudo docker run --rm -p 139:139 -p 445:445 -d dperson/samba
sudo docker run -p 139:139 -p 445:445 -d dperson/samba
OR set local storage:
@ -59,7 +59,7 @@ ENVIROMENT VARIABLES (only available with `docker run`)
Any of the commands can be run at creation with `docker run` or later with
`docker exec samba.sh` (as of version 1.3 of docker).
sudo docker run --rm -p 139:139 -p 445:445 -d dperson/samba -t EST5EDT
sudo docker run -p 139:139 -p 445:445 -d dperson/samba -t EST5EDT
Will get you the same settings as
@ -69,7 +69,7 @@ Will get you the same settings as
### Start an instance creating users and shares:
sudo docker run --rm -p 139:139 -p 445:445 -d dperson/samba \
sudo docker run -p 139:139 -p 445:445 -d dperson/samba \
-u "example1;badpass" \
-u "example2;badpass" \
-s "public;/share" \