for-azure icon indicating copy to clipboard operation
for-azure copied to clipboard

Fail to deploy Docker for Azure

Open samaxes opened this issue 7 years ago • 3 comments

Expected behavior

Be able to deploy Docker Community Edition (CE) for Azure (stable) from https://docs.docker.com/docker-for-azure/#quickstart.

Actual behavior

Got an error on Azure VMSS creation:

{
  "error": {
    "code": "ImageNotFound",
    "target": "imageReference",
    "message": "The platform image 'docker:docker-ce:docker-ce:1.0.12' is not available. Verify that all fields in the storage profile are correct."
  }
}

Steps to reproduce the behavior

  1. Click on the link Deploy Docker Community Edition (CE) for Azure (stable).
  2. Fill the custom deployment form correctly.
  3. Open the "Deployment failed" error. The status of the VMSS is "Not Found".

samaxes avatar Sep 25 '18 15:09 samaxes

For others facing the same issue, the solution is to use the older Docker 18.03.0-ce template.

samaxes avatar Sep 26 '18 13:09 samaxes

@samaxes Thanks for sharing this!

thehappycoder avatar Jan 02 '19 01:01 thehappycoder

If you don't want to use the old template and deploy a newer version (18.06.1) you can use the original template from the page and just change the line:

"linuxImageVersion": "1.0.12"

for

"linuxImageVersion": "1.0.18"

at the end of the file where the variables are defined and the deployment should work.

EDIT: This still installs 18.03.0 in the end, I guess there's no way to install 18.06 yet.

marakame avatar Jan 18 '19 00:01 marakame