Skip to content

olohmann/azure-app-service-linux-custom-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure App Service SSH-Enabled nginx Docker Image

This is a quick sample on how to prep an nginx image to run in Azure App Service for Linux as a Custom Image.

The important piece is the activation of the SSH daemon if you want to use the SSH debug capabilities of the Azure Portal. See Dockerfile for details.

Local Test

docker run --name hello-world -p 8000:2222 -t myacr.azurecr.io/hello-world:v1.0.0
ssh -c aes256-cbc -p 8000 root@localhost