Run mysql container passing database and user as environment vars fails

On Windows Docker desktop am trying to run mysql container with database initialised. Command is failing with error docker: invalid reference format . How can I see more verbose errors or can anyone suggest what is incorrect. Have tried enclosing the environment variables in double quotes without success.

    docker run -it --name=some-name -–env MYSQL_ALLOW_EMPTY_PASSWORD=y MYSQL_USER=some-user-not-root MYSQL_PASSWORD=some-user-not-root_pwd MYSQL_DATABASE=foo_db -d path-to-corporate-registry/subrepo/mysql:5.7.29