$ systemctl start docker
$ systemctl status docker
$ docker pull mysql
$ docker image ls
$ docker run --name db -e MYSQL_ROOT_PASSWORD=mysql123 -d mysql
Use the docker exec -it command to start a mysql client inside the Docker container you have started, like the following:
$ docker exec -it db mysql -uroot -p