1) Launch EC2 instance , the one with docker support on it 

2) Then follow simple below 4 instructions
Update yum for any package
The install docker
then start the docker service
register the ec2-user in docker sudo group to execute commands without sudo permission
a) sudo yum update -y
b) sudo yum install -y docker
c) sudo service docker start
d) sudo usermod -a -G docker ec2-user
you can verify the docker installation by running some sample docker commands like
docker image ls
docker ps
reboot the system to take an effect of sudo group
Comments
Post a Comment