# How to upgrade ELK on docker from 8.4.3 to 8.7.0

**URL:** https://discuss.elastic.co/t/how-to-upgrade-elk-on-docker-from-8-4-3-to-8-7-0/331352
**Category:** Elasticsearch
**Tags:** docker
**Created:** [April 30, 2023, 1:34pm UTC](https://discuss.elastic.co/t/how-to-upgrade-elk-on-docker-from-8-4-3-to-8-7-0/331352 "2023-04-30T13:34:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Thales\_Eduardo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thales_eduardo/32/120437_2.png) [@Thales\_Eduardo](https://discuss.elastic.co/u/Thales_Eduardo)
#### Post date: [April 30, 2023, 1:34pm UTC](https://discuss.elastic.co/t/how-to-upgrade-elk-on-docker-from-8-4-3-to-8-7-0/331352/1 "2023-04-30T13:34:26Z")

</div>

I have an elastdocker (elk version 8.4.3) in production for some time and I would like to upgrade the elk version (8.4.3 to 8.7.0).

Volumes are configured on the instance to use persistent storage.

The procedure would be like this??

1. Change version number in docker-compose.yml file
2. Run the commands:

- docker compose stop
- docker compose up -d

So will the new version upload without losing data??

Thanks for the feedback.

---

<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: [April 30, 2023, 10:56pm UTC](https://discuss.elastic.co/t/how-to-upgrade-elk-on-docker-from-8-4-3-to-8-7-0/331352/2 "2023-04-30T22:56:54Z")

</div>

Welcome to our community! 😃

Yep, that will work!

---

<div class="post-metadata">

### Author: ![Thales\_Eduardo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thales_eduardo/32/120437_2.png) [@Thales\_Eduardo](https://discuss.elastic.co/u/Thales_Eduardo)
#### Post date: [May 17, 2023, 2:48pm UTC](https://discuss.elastic.co/t/how-to-upgrade-elk-on-docker-from-8-4-3-to-8-7-0/331352/3 "2023-05-17T14:48:21Z")

</div>

Thanks. Update performed successfully.

---

<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: [June 14, 2023, 2:49pm UTC](https://discuss.elastic.co/t/how-to-upgrade-elk-on-docker-from-8-4-3-to-8-7-0/331352/4 "2023-06-14T14:49:19Z")

</div>

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