'SCRAM authentication requires libpq version 10 or above

i'm trying to implement docker in my rails api but I keep getting this error PG::ConnectionBad: SCRAM authentication requires libpq version 10 or above. I've try all the solutions I've found on the internet, even in another questions here, but none of them works. anybody knows the solution to this?



Solution 1:[1]

You need the update de image you are using in your container. I've had the same problem for running flywaydb. I updated the latest image version and solve this problem.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jhonatan