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-registry/container-registry-artifact-cache.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,24 +28,24 @@ Artifact cache addresses the challenge of anonymous pull limits imposed by publi
28
28
- Cache Rule - A Cache Rule is a rule you can create to pull artifacts from a supported repository into your cache.
29
29
- A cache rule contains four parts:
30
30
31
-
1. Rule Name - The name of your cache rule. For example, `Hello-World-Cache`.
31
+
- Rule Name - The name of your cache rule. For example, `Hello-World-Cache`.
32
32
33
-
2. Source - The name of the Source Registry.
33
+
- Source - The name of the Source Registry.
34
34
35
-
3. Repository Path - The source path of the repository to find and retrieve artifacts you want to cache. For example, `docker.io/library/hello-world`.
35
+
- Repository Path - The source path of the repository to find and retrieve artifacts you want to cache. For example, `docker.io/library/hello-world`.
36
36
37
-
4. New ACR Repository Namespace - The name of the new repository path to store artifacts. For example, `hello-world`. The Repository can't already exist inside the ACR instance.
37
+
- New ACR Repository Namespace - The name of the new repository path to store artifacts. For example, `hello-world`. The Repository can't already exist inside the ACR instance.
38
38
39
39
- Credentials
40
40
- Credentials are a set of username and password for the source registry. You require Credentials to authenticate with a public or private repository. Credentials contain four parts
41
41
42
-
1. Credentials - The name of your credentials.
42
+
- Credentials - The name of your credentials.
43
43
44
-
2. Source registry Login Server - The login server of your source registry.
44
+
- Source registry Login Server - The login server of your source registry.
45
45
46
-
3. Source Authentication - The key vault locations to store credentials.
46
+
- Source Authentication - The key vault locations to store credentials.
47
47
48
-
4. Username and Password secrets- The secrets containing the username and password.
48
+
- Username and Password secrets- The secrets containing the username and password.
49
49
50
50
## Limitations
51
51
@@ -157,7 +157,7 @@ You can enable Artifact cache in your Azure Container Registry with or without a
157
157
az acr Cache show -r MyRegistry -n MyRule
158
158
```
159
159
160
-
### Create the Credentials
160
+
### Create the credentials
161
161
162
162
Before configuring the Credentials, you have to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] And to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
163
163
@@ -190,7 +190,7 @@ Before configuring the Credentials, you have to create and store secrets in the
190
190
az acr credential-set show -r MyRegistry -n MyCredSet
191
191
```
192
192
193
-
### Configure and create a Cache rule with the Credentials
193
+
### Configure and create a cache rule with the credentials
194
194
195
195
1. Run [az acr cache create][az-acr-cache-create] command to create a cache rule.
196
196
@@ -244,7 +244,7 @@ Before configuring the Credentials, you have to create and store secrets in the
244
244
--secret-permissions get
245
245
```
246
246
247
-
### Pull your Image
247
+
### Pull your image
248
248
249
249
1. Pull the image from your cache using the Docker command by the registry login server name, repository name, and its desired tag.
250
250
@@ -404,7 +404,7 @@ Follow the steps to create cache rule in the [Azure portal](https://portal.azure
Before configuring the Credentials, you require to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] And to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
0 commit comments