Command not supported

If it is standard docker installation, then the mysql credentials are
mysql -u cms -h mysql -p cms
with the db password you set in the config.env.

that’s assuming the container is up and running.

What does docker-compose logs show?
and What does docker ps show?