I am using Docker for the magento. when I try fin project up the elasticsearch looks likes like it can be startup, but when I check the status. it is offline, any recommendation that I can get it fix?

enter image description here

1 Answer 1


You should probably increase your max_map_count Kernel Parameter on Linux. I faced the same issue, and the following solution helped me.

Try running this in your terminal:

sudo sysctl -w vm.max_map_count=262144

If it's not helping try to reload config as root using:

sudo sysctl -p

And after that try to run your container with elasticsearch again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.