compose
![images/update-docker-container-compose.webp](https://www.elasticourse.com/images/update-docker-container-compose_huc275c8cf497cd737491d14f21c06deae_27094_500x0_resize_q90_h2_box_2.webp)
How to Update Docker Container and Compose Stacks
To update a docker container or a docker compose stack, you need to pull the new version (image) from Docker Hub or any other container registery and re-create the container using the new image.
ElastiCourse
![](https://www.elasticourse.com/../assets/images/global/author_hubbff648ff4627bba668396f0c2042e10_8082_40x0_resize_q75_h2_box_2.webp)
![](https://www.elasticourse.com/../assets/images/global/author_hubbff648ff4627bba668396f0c2042e10_8082_40x0_resize_q75_h2_box_2.webp)
ElastiCourse
2
min read