There is a lot of documentation on installing ELK using dockers e.g. https://github.com/deviantony/docker-elk
However, I want to install ELK in a running docker container.
I followed the instructions here
https://www.elastic.co/guide/en/elasticsearch/reference/current/targz.html to install elasticsearch in a running container
I got an error - [ java.lang.RuntimeException: can not run elasticsearch as root]. I followed instructions here to solve this. https://stackoverflow.com/questions/34920801/how-to-run-elasticsearch-2-1-1-as-root-user-in-linux-machine.
Now, I am getting this error -
main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
How to resolve this?