Skip to content

Aspire DCP API-Server, IPv6 and devcontainers #2852

Answered by FracturedCode
GMouaad asked this question in Q&A
Discussion options

You must be logged in to vote

Final follow-up for people also having this issue. While configuring the interface for DCP would have been a nice workaround, I found a solution for enabling ipv6 in the devcontainer.

I used the docker docs page on ipv6. For both Linux and Windows I used the second option of modifying the default docker network interface.

I mentioned previously I could not get Aspire to work on Linux with the same error. I was mistaken; there was an error in my config. Once I corrected that config I was able to use Aspire in a devcontainer.

Windows has a trick. Edit your daemon.json directly (%userprofile%/.docker/daemon.json) instead of in the docker desktop UI. For some reason, the UI didn't like any ip…

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by davidfowl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@IEvangelist
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
5 participants
Converted from issue

This discussion was converted from issue #2319 on March 13, 2024 17:52.