--rm and -d are conflicting options
This commit is contained in:
parent
c6e9be3fd0
commit
61d06d9253
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user