Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
402 stars 195 forks source link

[Issue] `azd init` adds container but doesn't add requirements to next-steps.md #3004

Open dfberry opened 10 months ago

dfberry commented 10 months ago
  1. Added azd to the dev container and checked version is 1.50.
  2. azd init - create ./infra that requires conainers (which is great - thank you!)
  3. azd up fails because docker is missing.
  4. next-steps.md doesn't say anything about needing docker cli - although I do understand why its needed, I just want to see that the the next steps file
  5. I try to add the dev container feature for docker-in-docker and run into issue after issue.

Expected: have next-steps.com have a section on the requirements that the new infrastructure need for az up to work.

vhvb1989 commented 10 months ago

azd could suggest or even set the docker gh-feature.

The one used from azd-templates is

"ghcr.io/devcontainers/features/docker-in-docker:2": {
        },

You can see one example here: https://github.com/Azure-Samples/todo-python-mongo-aca/blob/main/.devcontainer/devcontainer.json#L5C9-L6C11

@savannahostrowski @weikanglim , I think this is good feedback for the easy-init.