Hi Matteo, that worked just fine, I can browse the logs now. :-) Thanks a lot (again)! Zitat von Matteo Piccinini <matteo.piccinini@gmail.com>:
Hi Eugen,
If I enter the opensearch container I don't have any sudo permissions. If you have any tip how to do that in a running environment, I would greatly appreciate it!
You can try to exec bash on a running container as root user like in the following example:
$ sudo docker exec -u root -ti elasticsearch bash (elasticsearch)[root@control01 /]# id uid=0(root) gid=0(root) groups=0(root) (elasticsearch)[root@control01 /]# exit
$ sudo docker exec -ti elasticsearch bash (elasticsearch)[elasticsearch@ control01 /]$ id uid=42412(elasticsearch) gid=42412(elasticsearch) groups=42412(elasticsearch),42400(kolla)
Best, Matteo