Skip to content

Dev Container with docker-outside-of-docker never gets healthy emulated resource #6830

Description

@erwinkramer

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When running Aspire inside a Dev Container with docker-outside-of-docker feature instead of docker-in-docker, the resource (for instance an emulated blob storage), never gets a healthy status and is not usable.

I see that the container does start in the host docker desktop (in my case), and no other errors seem to be popping up.

Expected Behavior

The resource should get a healthy status and be usable.

Steps To Reproduce

  • Use docker desktop inside your host.
  • Clone https://github.com/erwinkramer/bank-api
  • Modify the devcontainer.json to use docker-outside-of-docker instead of docker-in-docker
  • Run the dev container.
  • Start the launch config C#: App Host Debug (via Aspire).

Exceptions (if any)

No response

.NET Version info

.NET SDK:
Version: 9.0.100
Commit: 59db016f11
Workload version: 9.0.100-manifests.3068a692
MSBuild version: 17.12.7+5b8665660

Runtime Environment:
OS Name: debian
OS Version: 12
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/9.0.100/

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions