Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Enable Docker in Amazon Linux 2 AMI example #65

Merged
merged 1 commit into from
May 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/nomad-consul-ami/setup_amazon-linux-2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ sudo yum install -y git

echo "[INFO] [${SCRIPT}] Setup docker"
sudo yum install -y docker
sudo service docker start
sudo systemctl enable docker
sudo systemctl start docker
sudo usermod -a -G docker ec2-user