Able to ssh to minikube, but not in docker-desktop node in Kubernetes ?

            Asked
            
        
        
            Active
            
        
            Viewed 255 times
        
    0
            
            
        - 
                    You should almost never need to; in the Kubernetes environments I'm used to working in, as a developer, I don't have access to the underlying Nodes at all. What are you trying to do with this? – David Maze Oct 23 '22 at 10:49
 - 
                    1There could be N number of reasons for someone to ask this kind of questions. We should not be relating that with prod scenario. for ex: the OP might want to explore the k8s manifests inside the control plane. – RamPrakash Oct 25 '22 at 21:32
 - 
                    Check this - https://stackoverflow.com/a/62117039/11058704 – RamPrakash Oct 25 '22 at 21:36
 - 
                    Has your issue been resolved?If yes, can you post the procedure you've followed as a solution and accept it? – Fariya Rahmat Dec 16 '22 at 10:32
 
1 Answers
-1
            
            
        From a minikube instance, the idea is not to ssh to docker desktop, but to use docker directly through:
eval $(minikube docker-env)
See "Goodbye Docker Desktop, Hello Minikube!" from Abhinav Sonkar as an example.
        VonC
        
- 1,262,500
 - 529
 - 4,410
 - 5,250
 
