// first of all disable mySql Service if it was installed before or you will receive error like this
Lost connection to MySQL server at 'reading initial communication packet', system error: 0
// start docker container on 3307 port
docker run --name mysqlContainer -p 3307:3307 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_ROOT_HOST=% -d mysql:latest
// connect to mysql monitor
mysql -h localhost -P 3307 -u root -proot
// bash inside docker
docker exec -it mysql bash