Browse Source

Merge pull request #213 from eranchetz/master

Fix run command
Tianon Gravi 10 years ago
parent
commit
c9c9159390
2 changed files with 2 additions and 2 deletions
  1. 1 1
      logstash/README.md
  2. 1 1
      logstash/content.md

+ 1 - 1
logstash/README.md

@@ -24,7 +24,7 @@ If you need to run logstash with configuration provided on the commandline, you
 
 If you need to run logstash with a configuration file, `logstash.conf`, that's located in your current directory, you can use the logstash image as follows:
 
-	docker run -it --rm $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf
+	docker run -it --rm -v $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf
 
 # License
 

+ 1 - 1
logstash/content.md

@@ -18,4 +18,4 @@ If you need to run logstash with configuration provided on the commandline, you
 
 If you need to run logstash with a configuration file, `logstash.conf`, that's located in your current directory, you can use the logstash image as follows:
 
-	docker run -it --rm $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf
+	docker run -it --rm -v $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf