Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.17 KB

best-practices.md

File metadata and controls

13 lines (8 loc) · 1.17 KB

Best practices

These docker images listed are to be used with Web App for Containers , check out things you should know about Web App for ContainersFollow the best practices as listed below :

  1. Follow the best practices for writing a docker image as listed here. Note that , Web app for containers has a few limitations that are not supported :
  • Do not use VOLUME , USER instructions
  • Do not use chown statements
  • You can use only ONE port in additional to using the port for SSH i.e 2222
  1. Include SSH support in your docker image to allow users using the image to debug issues.
  2. Learn how to use the custom image on Web App for Containers. Since the platform is different than local Docker engine hosted machine , it is a good practice to test your build your image in Azure using web app for containers.