SSH to docker image

22689742 26 Reputation points
2021-03-11T19:21:41.467+00:00

Hello Team

I have web app and docker image deployed.

I need to change some config.

How i can connect using ssh using az cli and modify setting ?

Below link did not worked for me

https://learn.microsoft.com/en-us/azure/app-service/configure-linux-open-ssh-session

Thanks
Jas

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,963 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 15,261 Reputation points Microsoft Employee
    2021-03-12T04:39:15.56+00:00

    @22689742 Jas, thank you for your question.

    The document that you linked to would be if you are using one of our non container products (like a blessed linux image). Since you are using a container, there are different steps that must be follow to use SSH. With a custom container, you must first go through the process of enabling SSH. Please see here for more information how to do so.

    Once you have enabled SSH for your container, you should be able to then follow these steps. Please note that using a remote shell (az cli) is currently in public preview, which means it's not considered ready for General Availability (GA). If you have issues using it, we request you attempt SSH via a browser until remote shell access goes GA.

    Let us know if you have any other questions.

    0 comments No comments