Skip to content

[Issue] when docker is missing, could azd up suggest to use remoteBuild: true ? #5715

@jfomhover

Description

@jfomhover
  • 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

  1. 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

Metadata

Metadata

Assignees

Labels

area/acaAzure Container Apps

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions