Terraform does not prompt when value is not defined in a variable - Running from Docker container

We have decided to use Terraform from docker containers instead of using our local environment, this way we can keep different versions of Terraform running for different projects and it’s also easier to onboard people in projects but we currently have the following scenario that seems to not work as we expected.

When we want the user to provide a value to a variable through the command line, this is not happening. Terraform doesn’t prompt the user for it.
Is this directly related to be running Terraform in a docker container? Is there any solution for this?

We have ran Terraform from our local environment and in this case it prompts for the user input.