Jan 3, 2018

Get Docker running on the AWS AMI

  1. Update the packages on your instance
    [ec2-user ~]$ sudo yum update -y
  2. Install Docker
    [ec2-user ~]$ sudo yum install docker -y
  3. Start the Docker Service
    [ec2-user ~]$ sudo service docker start
  4. Add the ec2-user to the docker group so you can execute Docker commands without using sudo.
    [ec2-user ~]$ sudo usermod -a -G docker ec2-user
After running the 4th command, logout and log back in for the change to take effect.

Post a Comment

Featured Post

Blockchain could solve accounting problems and bring an unprecedented level of accuracy, security, and speed to record-keeping.

By adopting it, companies could eliminate supply chain inefficiencies -- and save billions of dollars.