Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/containerapp/azext_containerapp/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -2113,27 +2113,27 @@
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
--container-type CustomContainer --environment MyEnvironment \\
--cpu 0.5 --memory 1Gi --target-port 80 --image MyImage \\
--cpu 0.5 --memory 1Gi --target-port 80 --image myregistry.azurecr.io/MyImage:Tag \\
Copy link
Contributor

@Greedygre Greedygre Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --image supports not only azurecr.io image. I think it doesn't need to update the docs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point. I guess to reclarify, can this be reworded that a private registry (or essentially something non-Dockerhub related) requires a fully qualified name (myregistry.domain/myimage:mytag)?

We had a support case get raised for confusion around that, so figured a bit of wording change may help there.

--env-vars GREETING="Hello, world" SECRETENV=secretref:anothersecret \\
--secrets mysecret=secretvalue1 anothersecret="secret value 2" --location eastasia
- name: Create or update a Session Pool with container type CustomContainer that from private registry
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
--container-type CustomContainer --environment MyEnvironment --image MyImage \\
--container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\
--cpu 0.5 --memory 1Gi --target-port 80 --registry-server myregistry.azurecr.io \\
--registry-username myregistry --registry-password $REGISTRY_PASSWORD \\
--location eastasia
- name: Create or update a Session Pool with container type CustomContainer and Managed Identity to authenticate Azure container registry
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
--container-type CustomContainer --environment MyEnvironment --image MyImage \\
--container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\
--cpu 0.5 --memory 1Gi --target-port 80 --registry-server myregistry.azurecr.io \\
--registry-identity MyUserIdentityResourceId \\
--location eastasia
- name: Create or update a Session Pool with container type CustomContainer with system assigned and user assigned identity.
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
--container-type CustomContainer --environment MyEnvironment --image MyImage \\
--container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\
--cpu 0.5 --memory 1Gi --target-port 80 \\
--mi-system-assigned --mi-user-assigned MyUserIdentityResourceId \\
--location eastasia
Expand Down
Loading