Merge pull request #213 from eranchetz/master

Fix run command
This commit is contained in:
Tianon Gravi 2015-04-20 11:24:14 -07:00
commit c9c9159390
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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