title: How to update the existing web service with a new docker image on Azure Machine Learning Services?
body: <p>I am currently working on machine learning project with Azure Machine Learning Services. But I found the problem that I can't update a new docker image to the existing web service (I want to same url as running we service). </p>
  
  <p>I have read the documentation but it doesn't really tell me how to update (documentation link: <a href="https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-deploy-and-where" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-deploy-and-where</a>). 
  The documentation said that we have to use update() with image = new-image. </p>
  
  <pre><code>from azureml.core.webservice import Webservice
  
  service_name = 'aci-mnist-3
  
  # Retrieve existing service
  service = Webservice(name = service_name, workspace = ws)
  
  # Update the image used by the service
  service.update(image = new-image)
  
  print(service.state)
  </code></pre>
  
  <p>But the <code>new-image</code> isn't described where it comes from. </p>
  
  <p>Does anyone know how to figure out this problem?</p>
  
  <p>Thank you</p>