# Elastic Search Docker upgrade to latest

**URL:** <https://discuss.elastic.co/t/elastic-search-docker-upgrade-to-latest/323341>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [January 17, 2023, 3:37pm UTC](https://discuss.elastic.co/t/elastic-search-docker-upgrade-to-latest/323341 "2023-01-17T15:37:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gjahagir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gjahagir/32/125175_2.png) [@gjahagir](https://discuss.elastic.co/u/gjahagir)\
**Post date:** [January 17, 2023, 3:37pm UTC](https://discuss.elastic.co/t/elastic-search-docker-upgrade-to-latest/323341/1 "2023-01-17T15:37:37Z")

</div>

Hi,

I'm new to Elasticsearch as well as docker. I spinned up a 3 node elastic cluster following the documentation [here](https://www.elastic.co/guide/en/elasticsearch/reference/8.6/docker.html#docker-compose-file)  
I used stack version as 8.0.1 to test the upgrade process.

I followed the documentation on upgrade [here](https://www.elastic.co/guide/en/elastic-stack/8.6/upgrading-elasticsearch.html) to latest 8.6

Documentation says to shutdown single node and mentions the command for systemd and SysV but not for docker? how to shutdown a single node using docker desktop?

also, how to upgrade the node that is shut down in docker desktop.

I'm using docker desktop on windows machine.

Thanks

---

<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:** [January 18, 2023, 1:31am UTC](https://discuss.elastic.co/t/elastic-search-docker-upgrade-to-latest/323341/2 "2023-01-18T01:31:46Z")

</div>

The upgrade for docker is to update the URL in the docker file to point to the new one, which for Elasticsearch is to upgrade the version number it references.

Then you can use one of the `docker container` commands to restart it and pull down the new version.

---

<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:** [February 15, 2023, 1:32am UTC](https://discuss.elastic.co/t/elastic-search-docker-upgrade-to-latest/323341/3 "2023-02-15T01:32:28Z")

</div>

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