AWS EC2 – Docker + Mysql Installation Commands

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

9 comments

  • Linda2336

    Мадонна, икона поп-музыки и культурного влияния, продолжает вдохновлять и поражать своей музыкой и стилем. Её карьера олицетворяет смелость, инновации и постоянное стремление к самовыражению. Среди её лучших песен можно выделить “Like a Prayer”, “Vogue”, “Material Girl”, “Into the Groove” и “Hung Up”. Эти треки не только доминировали на музыкальных чартах, но и оставили неизгладимый след в культурной и исторической панораме музыки. Мадонна не только певица, но и икона стиля, актриса и предприниматель, чье влияние простирается далеко за рамки музыкальной индустрии. Скачать mp3 музыку 2024 года и слушать онлайн бесплатно.

  • Your writing has a way of resonating with me on a deep level. I appreciate the honesty and authenticity you bring to every post. Thank you for sharing your journey with us.

  • Hi, I’m Jack. Your website has become my go-to destination for expert advice and knowledge. Keep up the fantastic work!

  • Nutra Gears Pretty! This has been a really wonderful post. Many thanks for providing these details.

  • SocialMediaGirls This was beautiful Admin. Thank you for your reflections.

  • GlobalBllog I like the efforts you have put in this, regards for all the great content.

  • Blue Techker Awesome! Its genuinely remarkable post, I have got much clear idea regarding from this post . Blue Techker

  • Thinker Pedia naturally like your web site however you need to take a look at the spelling on several of your posts. A number of them are rife with spelling problems and I find it very bothersome to tell the truth on the other hand I will surely come again again.

  • Aroma Sensei Pretty! This has been a really wonderful post. Many thanks for providing these details.

Leave a Reply