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

failed to solve: sail-8.4/app #778

Open
leesegundo21 opened this issue Mar 11, 2025 · 1 comment
Open

failed to solve: sail-8.4/app #778

leesegundo21 opened this issue Mar 11, 2025 · 1 comment

Comments

@leesegundo21
Copy link

Sail Version

1.18

Laravel Version

10.10

PHP Version

8.1

Operating System

macOS

OS Version

15.3.1

Description

I created a new laravel project and when I tried to run sail up -d, I got and ERROR [laravel.test internal] load metadata for sail-8.4/app:latest failed to solve: sail-8.4/app: failed to resolve source metadata for sail-8.4/app:latest: failed to do request: Head "https://sail-8.4/v2/app/manifests/latest": dialing sail-8.4:443 container via direct connection because has no HTTPS proxy: connecting to sail-8.4:443: dial tcp: lookup sail-8.4: no such host

Steps To Reproduce

1- laravel new XXXX
2- composer require laravel/sail --dev
3- ./vendor/bin/sail up

@pepijnwoub
Copy link

In the docker compose yaml that sail is using they used laravel.test for the service name which is not allowed anymore and the image also has a dot which results in the docker trying to pull that image because I think it sees that as a valid domain

The issue lies in this file
https://github.com/laravel/sail/blob/1.x/stubs/docker-compose.stub

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

2 participants