Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve .loc domains inside a container (Mac) #83

Open
alessiopiazza opened this issue Jan 30, 2024 · 0 comments
Open

Unable to resolve .loc domains inside a container (Mac) #83

alessiopiazza opened this issue Jan 30, 2024 · 0 comments

Comments

@alessiopiazza
Copy link
Member

alessiopiazza commented Jan 30, 2024

From my experience it should be possible to resolve any .loc domain from inside a container because sparkdock adds a specific resolver/loc during the provisioning

Docker desktop version 4.25.0 (126437)
Compose: v2.23.0-desktop.1
Engine: 24.0.6

docker run --rm alpine:latest wget test.loc
Connecting to test.loc (127.0.0.1:80)
wget: can't connect to remote host (127.0.0.1): Connection refused

On some Mac this test fails, but it's not clear why.

Docker desktop version 4.26.1 (131620)
Compose: v2.23.3-desktop.2
Engine: 24.0.7

docker run --rm alpine:latest wget test.loc
wget: bad address 'test.loc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant