Docker Compose
Docker Compose profile name is invalid
Docker Compose requires profile names to match a specific pattern, and invalid names can break profile-based stack configuration.
Docker Compose
Docker Compose requires profile names to match a specific pattern, and invalid names can break profile-based stack configuration.
Observed message
Valid profiles names follow the regex format [a-zA-Z0-9][a-zA-Z0-9_.-]+
Why it happens
How to fix it
Official reference
Docker Docs: Compose file profilesRelated errors
Explore more