How to enter a container via SSH for Azure app services multicontainer

Sonia Toledo 20 Reputation points
2023-07-31T17:45:24.2766667+00:00

Hello everyone, I am newbie in Azure platform, maybe someone could clarify me, I have deployed a multi-container app in the Azure app services section. The docker-compose file includes containers for: a backend in PHP, a mysql database.

The thing is, I didn't find options in the azure dashboard to inspect someway these containers, like in docker desktop, where can choose "Open in terminal" option, just to explain what I look for. I read documentation, but it was about using the ssh option in azure panel (by the way, in my case ssh is disabled, without success trying to enable it).

I would really appreciate your help

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
{count} votes

Accepted answer
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-08-01T03:43:21.3866667+00:00

    You can follow this article to connect Linux container with SSH

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

    https://learn.microsoft.com/en-us/answers/questions/1184637/how-to-run-app-and-enable-ssh-access-on-azure-web

    the second link shows the required configuration files to enable SSH on your container

    please check both if it works for you if not

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.