I created Kubernetes cluster with kops (on AWS), and i want to access to one of my nodes as a root.According to this post, it's possible only with Docker command.
When i type docker image ls i'm getting nothing. When i was using minikube i solved this issue with minikube docker-env and from output i just copied last line into new CMD line @FOR /f "tokens=*" %i IN ('minikube docker-env') DO @%i
(I'm using Widnows 10) and using above procedure, after typing docker image ls or docker image ps i was able to see all minikube pods. Is there any way to do the same for pods created with kops ?
I'm able to do it connecting to Kubernetes node, install docker on it, and then i can connect to pod specifying -u root switch, but i wonder is it possible to do the same from host machine (Windows 10 in my case)
docker image lscommand is done on your AWS node (not on your windows machine) ? - Marc ABOUCHACRAsshto the node. Docker isn't involved at all. - David Mazedocker image lsis running on my Windows machine - overflowed