opensearch-project / docker-images

Apache License 2.0
8 stars 20 forks source link

[FEATURE] Docker rootless support #30

Closed WhiteOlivierus closed 1 year ago

WhiteOlivierus commented 1 year ago

Is your feature request related to a problem?

We are using a docker rootless solution where we would like to host Open Search. But this is not possible because of the memlock attribute. The error that is given is [1]: memory locking requested for OpenSearch process but memory is not locked because you can't do a memlock without root.

memlock:
  soft: -1
  hard: -1

What solution would you like?

I would like not to have to lock memory if I am running this on its own node.

What alternatives have you considered?

We have thought about running it without docker, but it makes it a lot simpler if it could be deployed with the rest of our stack without a workaround.

peterzhuamazon commented 1 year ago

Hi @WhiteOlivierus we are not using this repo for building docker images. All the building scripts are currently reside here: https://github.com/opensearch-project/opensearch-build/tree/main/docker

Thanks.