Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Replace docker.for.win.localhost with host.docker.internal in .env #1397

@InstanceFactory

Description

@InstanceFactory

According to docker/for-win#1764, docker.for.win.localhost is deprecated. The official new name is host.docker.internal.

When I tried to run eShopOnContainers on my Windows 10 machine, I was not able to login (as described e.g. by #1236 and #1242).

The current version of .env still contains docker.for.win.localhost for environment values to run the app locally in Windows. Changing docker.for.win.localhost to host.docker.internal in the .env file solved the issue for me.

I'm offering to make this change in the source code to help other (microservice) newbies like me not to run into this problem.

In case you agree, please assign this issue to me.

Best Regards,

Stefan

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions