[Issue] when docker is missing, could `azd up` suggest to use remoteBuild: true ?
- [x] Make sure you've installed the latest version using instructions
Output from azd version
azd version 1.18.2 (commit a7b2bdc861f0616438327854f11169a08fdfec96)
Describe the bug Using azd up to provision a containerapp, pretty standard, with a Dockerfile. In my setup, I didn't have docker running, so I saw the exception:
ERROR: error executing step command 'package --all': required external tools are missing:
- error checking for external tool Docker: the Docker daemon is not running, please start the Docker service: exit code: 1, stdout: , stderr: error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.51/containers/json": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.
To Reproduce
- azd up a containerapp without docker running
Expected behavior
I'd like if the error could suggest using remoteBuild: true in the azure.yaml as an alternative.
services:
sandbox-agent:
project: src/sandbox_agent
host: containerapp
language: python
docker:
path: Dockerfile
remoteBuild: true # adding this unblocks me
Environment Information on your environment: * VScode with python 3.31
@kristenwomack @tg-msft @wbreza what do you think of guiding the user towards remoteBuild recommendation?
azd doctor extension has a command to do this - azd doctor configure remote-build