瀏覽代碼

fix docker run command

Eran Chetz 10 年之前
父節點
當前提交
6e1a5c8cee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      logstash/content.md

+ 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