From 61d06d9253b9b8a34a07e84dde370386e5b3f2ec Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 22 Jan 2015 13:16:13 +0100 Subject: [PATCH] --rm and -d are conflicting options --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 90dd773..c9e6b5e 100644 --- a/README.md +++ b/README.md @@ -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" \