Last active
October 3, 2023 13:52
-
-
Save dhavaln/3fd5bc12e2dc4465a4821335bbbdf3b5 to your computer and use it in GitHub Desktop.
Install Docker on EC2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
yum update -y | |
amazon-linux-extras install docker | |
service docker start | |
usermod -a -G docker ec2-user | |
chkconfig docker on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment