-
Notifications
You must be signed in to change notification settings - Fork 286
[Issue] when docker is missing, could azd up suggest to use remoteBuild: true ? #5715
Copy link
Copy link
Closed
Description
- Make sure you've installed the latest version using instructions
Output from azd version
azd version 1.18.2 (commit a7b2bdc)
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 meEnvironment
Information on your environment:
* VScode with python 3.31
Reactions are currently unavailable
Metadata
Metadata
Labels
area/acaAzure Container AppsAzure Container Apps