loki icon indicating copy to clipboard operation
loki copied to clipboard

Use host.docker.internal instead of local IP address in chrome.docker

Open jamiepenney opened this issue 1 year ago • 4 comments

Resolves https://github.com/oblador/loki/issues/473

Fixes an issue where the Chrome docker container cannot access Storybook running on the host machine via IP address, instead using the Docker host.docker.internal DNS entry to get access to it.

I'm not 100% convinced this is the right approach, but I wanted to put it out there as a solution to my problem. Is there a scenario where using host.docker.internal for accessing the host from the docker container won't work?

jamiepenney avatar Aug 23 '23 21:08 jamiepenney

This also works for me on 0.34.0! Would be great to have this merged :)

patrik909 avatar Mar 18 '24 10:03 patrik909

it actually works, ty (:

sayonar2k avatar Jun 09 '24 21:06 sayonar2k