Docker local server development setup error

Anyone have working solution to install frappe on docker fot local development,
First error:
bench set-mariadb-host mariadb
Give error: No such command ‘set-mariadb-host’

Therefore running:
'bench new-site mysite.localhost --mariadb-root-password 123 --admin-password admin --no-mariadb-socket ’ also give error too (2003, “can’t connect to MySQL server on ‘’ ([Errno 111] connection refused)”)
Trying to install on Ubuntu 20 system


manually set db_host in common site config