AdobeDocs / commerce-cloud-tools

Source of the Adobe Commerce Cloud Tools content
https://developer.adobe.com/commerce/cloud-tools/
Other
3 stars 12 forks source link

Broken example: manifest unknown error when attempting to download and run init-docker #95

Open resplin opened 1 month ago

resplin commented 1 month ago

Is there an existing issue for this?

Which topic?

https://developer.adobe.com/commerce/cloud-tools/docker/setup/initialize-docker/

What's wrong with the content?

The documentation suggests the following command: curl -sL https://github.com/magento/magento-cloud-docker/releases/download/1.3.5/init-docker.sh | bash -s -- --php 8.2

When I run this locally, I get the following output:

Installing Composer Packages
Unable to find image 'magento/magento-cloud-docker-php:8.2-cli-1.3.2' locally
docker: Error response from daemon: manifest for magento/magento-cloud-docker-php:8.2-cli-1.3.2 not found: manifest unknown: manifest unknown.
See 'docker run --help'.

Separately, I see that the image exists here in the magento2 repository: https://github.com/magento/magento-cloud-docker/tree/develop/images/php/8.2-cli

What changes do you propose?

Update documentation to use working example.

Anything else that can help to cover this?

No response

resplin commented 1 month ago

A workaround is to pass the image version:

curl -sL https://github.com/magento/magento-cloud-docker/releases/download/1.3.5/init-docker.sh | bash -s -- --php 8.2 --image=1.3.5