Multi-Container Azure App service - how to connect via SSH to a specific container

Istvan Fazakas 20 Reputation points

I have a setup with a multi-container Linux Azure app service, for running a web application and some side apps in different containers used by the main application.

I managed to set up the SSH connection to the main container however, I did not find a solution to connect via SSH to all the other containers from the app service.

Is this possible at all? The SSH config is made based on this documentation.

Any help would be much appreciated. Thank you.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,348 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
239 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 8,300 Reputation points

    Hello Istvan Fazakas,

    Thanks for your question.

    SSH to individual containers within a multi-container Azure App Service is not natively supported. You can try from ssh support on your docker image.

    You must add SSH support to your Docker image by adding an 'sshd_config' file to your repository, which configures OpenSSH and must include the items that were explained here.

    Also see: Enabling SSH on Linux Web App for Containers



    You can mark it 'Accept Answer' if this helped you