I have just created Amazon Linux EC2 instance.
sudo yum update
sudo yum install docker
sudo service docker start
sudo docker pull mysql/mysql-server:latest
sudo docker run --name=gr_mysql -e MYSQL_ROOT_PASSWORD=ngdev@google%fb-password -p 3306:3306 --restart always -d mysql/mysql-server
In case something went wrong then use the below commands to remove the same,
sudo docker stop gr_mysql
sudo docker rm gr_mysql