Hello, I created a game server for my friend by using Docker image. But inside the pack it’s having an input for the password, I have imported the password to the .env but its somehow not working and then it’s showing this error for me.
This sounds like an issue specific to the Docker image you are using. Hopefully it has documentation that explains how to set the password non-interactively.
If you are using a custom image, you should post your Dockerfile. You might be able to pass the password as input to the Java program using something like
CMD echo "$PASSWORD" | java ...
where PASSWORD is an environment variable that you can set using flyctl secrets set to avoid hard-coding the password into your Dockerfile.