Hi,
docker run -d -e MYSQL_ROOT_PASSWORD=db_pass123 --name mysql-db mysql
in this command you can see we use “-e” why we used this, and how can we find the available all options list. kindly proved the link for better understanding the options used in docker commands.