How do I log in to an AKS cluster and run the docker images command to view the image?

Anonymous
2024-04-30T08:31:28.53+00:00

The Docker service cannot be found for the Cloud Shell CLI, the node cannot be logged in remotely, and an error is reported when logging in to the bastion host.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,453 questions
0 comments No comments
{count} votes

Accepted answer
  1. AlaaBarqawi_MSFT 942 Reputation points Microsoft Employee
    2024-04-30T08:37:35.4033333+00:00

    Hi Chen, Owen

    you need to ssh into the AKS worker nodes and check the images ?

    can you clarify what you need to do ?

    Also you can ssh into the node by using this , kubectl debug

    https://learn.microsoft.com/en-us/azure/aks/node-access#ssh-using-kubectl-debug

    And you can run crictl inside the worker node to view the images

    crictl images
    
    

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-05-06T09:24:41.7166667+00:00

    I'm sorry, the mirror has been found. Thank you very much

    1 person found this answer helpful.
    0 comments No comments

  2. Anonymous
    2024-05-06T02:00:59.26+00:00

    We use kubectl debug node/aks-agentpool-21107632-vmss000007 -it --image=mcr.microsoft.com/cbl-mariner/busybox:2.0 to log in to the node but we don't use this command;
    User's image


  3. Anonymous
    2024-05-06T09:06:22.0233333+00:00

    That's okay, but why did I use this command when I couldn't find the image in my yaml file on any node

    User's image

    User's image

    0 comments No comments

  4. Anonymous
    2024-05-07T03:15:24.25+00:00

    Why does the push image look like this?User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.