Install elasticsearch in a running docker container

There is a lot of documentation on installing ELK using dockers e.g.

However, I want to install ELK in a running docker container.

  1. I followed the instructions here to install elasticsearch in a running container

  2. I got an error - [ java.lang.RuntimeException: can not run elasticsearch as root]. I followed instructions here to solve this.

  3. Now, I am getting this error -
    main ERROR Could not register mbeans access denied ("" "register")
    at java.base/

How to resolve this?

Is there a reason you cannot use the existing containers that have Elasticsearch already installed?

I already have a container running with some other deep learning packages. I want to use elasticsearch for data pre-processing steps.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.