You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #261 changed `docker compose` behavior to require normalized project
names as input, instead of normalizing project names automatically. This
landed in compose-spec/compose-go v1.2.5 and docker/compose v2.5.1.
However, the previous error message gave no indication why a name isn't
valid. This is surprising for users whose previously working project
names no longer work with newer versions of `docker compose`.
As of compose-spec/compose-spec#314, the spec now contains the text:
> Project name MUST contain only lowercase letters, decimal digits,
> dashes, and underscores, and MUST begin with a lowercase letter or
> decimal digit.
This updated error message provides a concise version of this
requirement based on regular expression character range notation.
See also:
- compose-spec/compose-spec#311
- docker/compose#9741
Signed-off-by: Mike Bland <[email protected]>
0 commit comments