I am running some applications where application must know that it is running inside the PODMAN without any extra env variable but podman configuration inside the container must provide the detail without any user interactions.
As of now, I am using cat /proc/self/cgroup| grep -i 'machine.slice/libpod-*'
inside the container started using podman to check if the process is inside the pod or not.
Is there a better way to handle the same?