title: Docker-machine: Update the azure driver configuration
body: <p>I have an issue with a docker machine I am running in the Azure cloud. I created the machine using the default <code>size</code>, which is <code>Standard_A2</code> but I want to upgrade the machine.</p>
  
  <p>I tried to manually change the size to <code>Standard_A4</code> through the Azure Web Portal, which seemed to work fine since the virtual machine restarted and in the overview section it says:</p>
  
  <pre><code>Size
  Standard A4 (8 vcpus, 14 GB memory)
  </code></pre>
  
  <p>However, when running the command <code>docker-machine inspect &lt;machine-name&gt;</code> the configuration still shows that the size of the machine is <code>Standard_A2</code>. See below:</p>
  
  <pre><code>{
      "ConfigVersion": 3,
      "Driver": {
          ...
  
          "ResourceGroup": "docker-machine",
          "DockerPort": 2376,
          "Location": "westeurope",
          "Size": "Standard_A2",
  
          ...
      },
      ...
  }
  </code></pre>
  
  <p>I know that I can remove the whole machine and create a new one with a different default size using the <code>--azure-size</code> option, however, I think it is weird if there is no way to upgrade a machine that is already running.</p>
  
  <p>Any idea of how this could be achieved? I could not find anything in the documentation...</p>