mumoshu / kube-ssm-agent

Secure, access-controlled, and audited terminal sessions to EKS nodes without SSH
109 stars 35 forks source link

Unable to run docker commands inside worker nodes #5

Open sowmya-parsi opened 4 years ago

sowmya-parsi commented 4 years ago

Hi,

ssm-agent installation is working fine but there is a problem when changing the user it says ec2-user does not exists and with ssm-user we are unable to run docker command inside the worker nodes.Is there any solution for this? Thanks in advance.

scastria commented 4 years ago

I have the same problem. I think I know the reason. By deploying the ssm agent in this way, it is running the agent inside a docker container? Therefore, when you ssm to it, you are inside a docker container, NOT connected to the node OUTSIDE the docker container. If all of this is true, then I am not sure why this entire github project exists. Why would I want to ssm to a docker container inside my node?