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

Error creating new Container App #19

Closed
BigMorty opened this issue Jan 27, 2022 · 1 comment · Fixed by #127
Closed

Error creating new Container App #19

BigMorty opened this issue Jan 27, 2022 · 1 comment · Fixed by #127
Milestone

Comments

@BigMorty
Copy link
Member

BigMorty commented Jan 27, 2022

Repro Steps

  • Right clicked on my new CA env I just created and selected 'Create Container App...'
  • Name - 'first-app'
  • Cont Reg - ACR - 'mikemortACR'
  • Repository - 'orderproc'
  • Tag = '3.0'
  • HTTP endpoint - 'Enable'
  • Traffic - 'External'
  • Port - '80'

Received the following error...
Error: The following field(s) are either invalid or missing. Invalid value: "orderproc-3.0": Invalid Name: Per RFC 1123 name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is 'a-z0-9?'): template.containers.

I tried a few other attempts, the pattern I see is it fails if the tag I select is something like 3.0 or 2.2. If I select a tag without a period in it, it works.

@anthonychu
Copy link
Member

Likely because the . creates an invalid hostname.

Also need to verify other name requirements. For instance, there's a limit of 2–20 characters enforced in VS Code but longer names are allowed.

@nturinski nturinski added this to the 0.1.1 milestone May 20, 2022
@microsoft microsoft locked and limited conversation to collaborators Mar 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants