Created
October 14, 2021 16:31
-
-
Save DanielDaCosta/033c1131ae7ae0cb0773b0a7a7f7b4e5 to your computer and use it in GitHub Desktop.
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
# installing docker | |
$ sudo yum update -y | |
$ sudo amazon-linux-extras install docker | |
$ sudo service docker start | |
$ sudo usermod -a -G docker ec2-user # Add the ec2-user to the docker group so you can execute Docker commands without using sudo | |
# Configure Docker to start on boot | |
$ sudo systemctl enable docker.service # https://docs.docker.com/engine/install/linux-postinstall/#configure-docker-to-start-on-boot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment