DOCKER LAB1

AWS EC2

 

We log in to AWS EC2 from local machine terminal to EC2 ubuntu machine

Some cmds are not working, there is some issue of permission, bez ubuntu user is not added in docker group for access or you can do it with sudo with root permission

                      Docker process is working in dockerd

 

 

Now add your ubuntu user in docker group to have permission to run docker cmds

 

Exit and then login again then user ubuntu will be added in the ubuntu

 

 

 

 

 

 

Accessable for inside

 

 

 

              

 

Cmd run in container insdie

 

   

 

Allow ports on AWS firewall rule to access it from outside