SSHログインして上から順番に実行していけばOK
sudo yum update -y
sudo amazon-linux-extras install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
su - $USER
# 動作確認
docker info
参考
Go to list of users who liked
More than 3 years have passed since last update.
SSHログインして上から順番に実行していけばOK
sudo yum update -y
sudo amazon-linux-extras install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
su - $USER
# 動作確認
docker info
参考
Register as a new user and use Qiita more conveniently
Go to list of users who liked