You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dev Container with docker-outside-of-docker never gets healthy emulated resource #6830
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.
Docker outside of Docker is effectively a remote docker scenario for dev containers and .NET Aspire does not currently support working against a Docker daemon on a remote machine. When using devcontainers you need to use docker-in-docker.
We have added improved support for devcontainers in .NET Aspire 9.1, you can checkout our Devcontainer template here: https://github.com/dotnet/aspire-devcontainer (still needs a few updates once we ship the 9.1 nuget packages).
Looks like you've got the devcontainer in your repro set for docker-in-docker now anyway...
Activity
mitchdenny commentedon Feb 25, 2025
Docker outside of Docker is effectively a remote docker scenario for dev containers and .NET Aspire does not currently support working against a Docker daemon on a remote machine. When using devcontainers you need to use docker-in-docker.
We have added improved support for devcontainers in .NET Aspire 9.1, you can checkout our Devcontainer template here: https://github.com/dotnet/aspire-devcontainer (still needs a few updates once we ship the 9.1 nuget packages).
Looks like you've got the devcontainer in your repro set for docker-in-docker now anyway...