Hello Ann,
Thanks for your reply. My initial attempts were with the official image which led me to search for an alternative, hence I stumbled upon this old thread SonarQube 9.1 Developer Edition Docker on ECS/Fargate tries to run elasticsearch as root (& fails). Official image usage, leads to the same error that I can not run elasticsearch as root.