Skip to content

Invalid name; only "[a-zA-Z0-9_-]+" are allowed #786

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

Open
rodrigogalura opened this issue Apr 17, 2025 · 3 comments
Open

Invalid name; only "[a-zA-Z0-9_-]+" are allowed #786

rodrigogalura opened this issue Apr 17, 2025 · 3 comments

Comments

@rodrigogalura
Copy link

Sail Version

1.41

Laravel Version

12

PHP Version

8.3

Operating System

macOS

OS Version

15.3.2

Description

New version of docker not accepting dot (.) anymore in service name

Steps To Reproduce

Steps to Reproduce

  1. Update docker (v4.40 mine)
  2. Run artisan command to install sail php artisan sail:install
  3. Up my docker using sail command sail up -d

Screenshot

Image

Workaround

Update service laravel.test to laravel-test

Image
@jxjj
Copy link

jxjj commented May 2, 2025

I'm also experiencing this issue. Renaming the laravel.test service resolves it.

@al3rez
Copy link

al3rez commented May 6, 2025

Same issue, here, changed laravel.test -> laravel and it worked

@finagin
Copy link
Contributor

finagin commented May 7, 2025

I see that you have Docker Buildx Bake enabled, and there is an issue with it. If you do not have a fundamental need to use it, you can disable it globally or for a specific project using the variable COMPOSE_BAKE=false.

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

4 participants