You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host/Environment (please complete the following information):
centos-release-8.2-2.2004.0.1.el8.x86_64
Additional context
I tried many options: change the configuration file, use a old version of the image, but the result was equally unsuccessful. For opensearchproject/opensearch:1.2.3 the error is:
Hi @qmonitoring please refer to #1529 for more context and discussion as well as temp fixes that I am preparing to resolve the race condition.
As of now if your yml file is root owned it cannot be updated as that requires a complete change in how we handle the startup variable. Or you can make your yml file owned by opensearch and it should run.
Describe the bug
When I try to run a docker image (following the documentation) I get this error:
tee: /usr/share/opensearch/config/opensearch.yml: Permission denied
The container won't start.
To Reproduce
Steps to reproduce the behavior:
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -v /usr/share/opensearch/config/custom-opensearch.yml:/usr/share/opensearch/config/opensearch.yml opensearchproject/opensearch:1.2.4
Expected behavior
Opensearch up and running
Host/Environment (please complete the following information):
centos-release-8.2-2.2004.0.1.el8.x86_64
Additional context
I tried many options: change the configuration file, use a old version of the image, but the result was equally unsuccessful. For opensearchproject/opensearch:1.2.3 the error is:
tee: /usr/share/opensearch/config/opensearch.yml: Permission denied
sed: cannot rename /usr/share/opensearch/config/sedZbSzcg: Device or resource busy
The text was updated successfully, but these errors were encountered: