Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Dapr runtime not detected in Dev Container #80

@philliphoff

Description

@philliphoff

When no Dapr applications appear to be running, the extension checks (1) whether Dapr appears to be installed and (2) whether Dapr appears to be initialized. The latter is done by looking for a running Docker container based on the daprio/dapr image. However, if the extension is running within the context of a Dev Container, the extension does not appear to find the daprio/dapr image, and so reports that Dapr may not be initialized. (Running a Dapr application within the Dev Container will cause the application to be displayed within the extension.)

It looks like the Docker inspect .Image property may not be consistent in all environments (i.e. a SHA image name is specified instead); we may need to additionally check .Config.Image.

Screen Shot 2020-03-20 at 2 33 24 PM

Metadata

Metadata

Assignees

Labels

P2Moderate prioritybugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions