# Install logstash on Docker return LOGSTASH\_VERSION: not found

**URL:** <https://discuss.elastic.co/t/install-logstash-on-docker-return-logstash-version-not-found/68826>\
**Category:** Logstash\
**Created:** [December 13, 2016, 8:00am UTC](https://discuss.elastic.co/t/install-logstash-on-docker-return-logstash-version-not-found/68826 "2016-12-13T08:00:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruphin15](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@ruphin15](https://discuss.elastic.co/u/ruphin15)\
**Post date:** [December 13, 2016, 8:00am UTC](https://discuss.elastic.co/t/install-logstash-on-docker-return-logstash-version-not-found/68826/1 "2016-12-13T08:00:18Z")

</div>

Hi,

I'm new to Docker and Logstash, currently I'm trying to install logstash 5.1.1 on Docker.

When I run the logstash it returned:

"/opt/logstash/vendor/jruby/bin/jruby: line 14: LOGSTASH\_VERSION: not found"

here is my command:  
CMD bin/logstash -f /opt/logstash/data/import.conf --path.settings=/opt/logstash/conf

Appreciate immediate help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 10, 2017, 8:00am UTC](https://discuss.elastic.co/t/install-logstash-on-docker-return-logstash-version-not-found/68826/2 "2017-01-10T08:00:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
