docker-archive / for-azure

27 stars 18 forks source link

Fail to deploy Docker for Azure #72

Open samaxes opened 6 years ago

samaxes commented 6 years ago

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 commented 6 years ago

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

thehappycoder commented 5 years ago

@samaxes Thanks for sharing this!

marakame commented 5 years ago

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.