# Which is the right link for Elastic 5.1.1 on http://packages.elastic.co/elasticsearch

**URL:** <https://discuss.elastic.co/t/which-is-the-right-link-for-elastic-5-1-1-on-http-packages-elastic-co-elasticsearch/69192>\
**Category:** Elasticsearch\
**Created:** [December 15, 2016, 4:21pm UTC](https://discuss.elastic.co/t/which-is-the-right-link-for-elastic-5-1-1-on-http-packages-elastic-co-elasticsearch/69192 "2016-12-15T16:21:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cruizpollino](https://avatars.discourse-cdn.com/v4/letter/c/6a8cbe/32.png) [@cruizpollino](https://discuss.elastic.co/u/cruizpollino)\
**Post date:** [December 15, 2016, 4:21pm UTC](https://discuss.elastic.co/t/which-is-the-right-link-for-elastic-5-1-1-on-http-packages-elastic-co-elasticsearch/69192/1 "2016-12-15T16:21:19Z")

</div>

Good evening,

I'm following

> **[How to make a Dockerfile for Elasticsearch
	  	 | Elastic](https://www.elastic.co/blog/how-to-make-a-dockerfile-for-elasticsearch)**
>
> How to make a Dockerfile for ElasticsearchDocker containers gives you a way to ship and run applications with their environment in an isolated and repeatable way. While there are a myriad of Docker im...

to create a dockerfile in order to run elasticsearch 5.1.1

I know that there is a official docker release, based in alpine, but I can't use it since i need to install nodejs binaries

from the webpage detailed above

RUN apt-key adv --keyserver [pgp.mit.edu](http://pgp.mit.edu) --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4 &&   
add-apt-repository -y "deb [http://packages.elastic.co/elasticsearch/2.x/debian](http://packages.elastic.co/elasticsearch/2.x/debian) stable main" --keyserver [https://pgp.mit.edu/](https://pgp.mit.edu/) &&   
apt-get update &&   
apt-get install -y --no-install-recommends elasticsearch

I've changed the 2.x for 5.1 with no luck

anyone knows the right link and command to download the 5.1.1 version and get it installed

regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 15, 2016, 8:27pm UTC](https://discuss.elastic.co/t/which-is-the-right-link-for-elastic-5-1-1-on-http-packages-elastic-co-elasticsearch/69192/2 "2016-12-15T20:27:10Z")

</div>

The URL changed from 2\>5 - [https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html)

---

<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 12, 2017, 8:27pm UTC](https://discuss.elastic.co/t/which-is-the-right-link-for-elastic-5-1-1-on-http-packages-elastic-co-elasticsearch/69192/3 "2017-01-12T20:27:37Z")

</div>

Closed on January 12, 2017, 8:27pm UTC

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