Can not upgrade 7.11.1 -> 7.15.0 (docker-compose. dev.env)

I am currently using the elastic stack in my development environment.
I'm using a single elastic stack system with docker compose.
The version used is 7.11.1.
I found out that 7.15.0 was released recently.

Change only the version in docker-compose.yml
command was executed. as below
docker-compose down
I did docker-compose up,

The version remains the same.
I wonder if there is another way.
I wonder why the upgrade is not working.

Welcome!

This should not happen.
Stupid question but did you save your docket-compose file?

How do you know that the cluster was not upgraded?
Is there any other Elasticsearch instance running?

yea I did save
and check version by curl
result is
"name" : "dda9c6cf47d5",
"cluster_name" : "docker-cluster",

"version" : {
"number" : "7.11.1",

Check if you have actually pulled the 7.15 image with "docker image ls".
If not then try "docker image pull docker.elastic.co/elasticsearch/elasticsearch:7.15.0"

haha
oh I already did that...

OTL

docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.elastic.co/elasticsearch/elasticsearch 7.15.0 53ecd52afaa0 4 weeks ago 812MB
docker.elastic.co/logstash/logstash 7.15.0 e5418407bc4d 4 weeks ago 977MB
docker.elastic.co/kibana/kibana 7.15.0 4334c025a5e0 4 weeks ago 1.14GB

Could you run:

docker-compose down

And then when it's down, run

curl localhost:9200/

oh well done
It was a shameful mistake.
Thanks to everyone who gave advice

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