Error setting up metabase with docker and AWS RDS postgres database


#1

While trying to setup metabase with docker, I specified my AWS RDS postgres database credentials in the Environment variables but I got the error below

10-30 09:42:02 ERROR metabase.driver :: Failed to connect to database: java.sql.SQLException: No suitable driver found for jdbc:postgresql://*************.cwv7awwnqd0u.eu-west-2.rds.amazonaws.com:/ebdb” \-e MB_DB_PORT=5432 \-e MB_DB_USER=********”?OpenSourceSubProtocolOverride=true
10-30 09:42:02 ERROR metabase.core :: Metabase Initialization FAILED

Here is command to setup metabase, any help?

**docker run -d -p 3000:3000 \-e "MB_DB_TYPE=postgres" \-e "MB_DB_DBNAME=ebdb” \-e "MB_DB_PORT=5432" \-e "MB_DB_USER=*****************” \-e "MB_DB_PASS=******************" \-e "MB_DB_HOST=postgres://*********************.cwv7awwnqd0u.eu-west-2.rds.amazonaws.com" \--name metabase metabase/metabase**