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
Copy file name to clipboardExpand all lines: articles/container-apps/managed-identity-image-pull.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,16 @@ You can verify that the role was added by checking the identity from the **Ident
116
116
1. Select **Azure role assignments** from the menu on the managed identity resource page.
117
117
1. Verify that the `acrpull` role is assigned to the user-assigned managed identity.
118
118
119
+
#### Create a container app with a private image
120
+
121
+
If you don't want to start by creating a container app with a public image, you can also do the following.
122
+
123
+
1. Create a user-assigned managed identity.
124
+
1. Add the `acrpull` role to the user-assigned managed identity.
125
+
1. Create a container app with a private image and the user-assigned managed identity.
126
+
127
+
This method is typical in Infrastructure as Code (IaC) scenarios.
128
+
119
129
### Clean up resources
120
130
121
131
If you're not going to continue to use this application, you can delete the Azure Container Apps instance and all the associated services by removing the resource group.
0 commit comments