Reputation: 782
I have a docker
container that's running elasticsearch
v6.0.
I want to modify my elasticsearch.yml
so that I can set the path.repos
so I can add a directory to use for my snapshot
and restore
that I want to do my index
before I make changes to it. I don't see the elasticsearch.yml
in my docker container and not able to find it. Can someone point me to where I can find it? If it's not on the container itself, what steps can I take to add one to the container so that I can snapshot and restore my index? Thanks.
Upvotes: 11
Views: 16135
Reputation: 4308
On my Ubuntu docker container using Elasticsearch v7.10, the location is
/etc/elasticsearch/elasticsearch.yml
/usr/share/elasticsearch/bin
/var/log/elasticsearch
/var/lib/elasticsearch
service elasticsearch start
See more at Configuring Elasticsearch
Upvotes: 1
Reputation: 782
Thanks to @Lupanoide I was able to find where the elasticsearch.yml
file is on my container. It is located in the /usr/share/elasticsearch/config
. Thank you @Lupanoide for your answer. You can also see his comment above!
Upvotes: 18