I am testing few things with respect to below query which I already raised
Apart for the one above, I observed that we get Permission Denied error, Operation not permitted in certain cases
one such case would be if I
docker exec -it /bin/bash
it results in "Permission Denied "error. Even if I try to do chmod it gives me Operation not Permitted error
I dont remember that was the case earlier. anyone have any guess if I am doing anything wrong
I am trying to see if config.yml is updated as per my requirement after the application is spun up, but it does not allow so.
Any permission that I am missing? or should I run the docker-compose in some elevated mode.
I am trying with opensearch 1.3.1 version. and I have run the docker-compose after sudo su
To be precise, I am getting below error when I run docker-compose up command
Exception in thread “main” SettingsException[Failed to load settings from /usr/share/opensearch/config/opensearch.yml]; nested: AccessDeniedException[/usr/share/opensearch/config/opensearch.yml];
I am pushing external files(internal_users, roles, config yaml files) to this location via volume mount.
here is the sample one. the files are under the user folder and I am running them after sudo su. The linux flavor is RHEL 8
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
- “OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m” # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
OPENSEARCH_HOSTS: ‘[“https://testvmserver.net:9200”]’ # must be a string with no spaces when specified as an environment variable