Explanation How to work around or solve common Docker deployment errors with Azure Container Instances (ACI) and Azure Kubernetes Service (AKS) using Azure Machine Learning. The recommended and the most up to date approach for model deployment is via the Model.deploy() API using an Environment object as an input parameter. In this case our service will create a base docker image for you during deployment stage and mount the required models all in one call. The basic deployment tasks are: 1. Register the model in the workspace model registry. 2. Define Inference Configuration: a. Create an Environment object based on the dependencies you specify in the environment yaml file or use one of our procured environments. b. Create an inference configuration (InferenceConfig object) based on the environment and the scoring script. 3. Deploy the model to Azure Container Instance (ACI) service or to Azure Kubernetes Service (AKS).