When we try to run elasticsearch v7.17.0 or v7.17.12, we are facing an error to start the container. It fails with "2023-08-29T12:34:54.499254418+05:30 stderr F chroot: cannot change root directory to '/': Operation not permitted". One change we know of rhel 8.8 is, it is using podman 4.
This was working fine on RHEL v8.4 which was internally using podman3.
When we tried to run the latest elasticsearch container v8.9.1 on RHEL v8.8, this problem is not coming.
Is anyone facing same problem? Or anyone knows any solution for fixing this on v7 elasticsearch containers?