Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 388 Bytes

File metadata and controls

17 lines (17 loc) · 388 Bytes

Install Docker on AMI Instance in EC2

  • Update the packages
sudo yum update -y
  • Install the most recent Docker CE edition
sudo yum install docker -y
  • Start the docker service
sudo service docker start 
  • Add the ec2-user to the docker group so you can execute Docker commands without using sudo.
sudo usermod -a -G docker ec2-user