SCRAM authentication requires libpq version 10 or above
https://stackoverflow.com/questions/62807717/how-can-i-solve-postgresql-scram-authentication-problem
export DOCKER_DEFAULT_PLATFORM=linux/amd64
不要使用docker的postgres(14), 使用本地的postgres (9.5)就可以正常的create db/migrate rails s