Skip to content

Commit fc6b8a4

Browse files
authored
Update translator-disconnected-containers.md
1 parent 378a3ee commit fc6b8a4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/cognitive-services/Translator/containers/translator-disconnected-containers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ Access is limited to customers that meet the following requirements:
4646

4747
1. Create a [Translator resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) in the Azure portal.
4848

49-
2. Enter the applicable information to create your resource. Be sure to select **Commitment tier disconnected containers** as your pricing tier.
49+
1. Enter the applicable information to create your resource. Be sure to select **Commitment tier disconnected containers** as your pricing tier.
5050

5151
> [!NOTE]
5252
>
5353
> * You will only see the option to purchase a commitment tier if you have been approved by Microsoft.
5454
5555
:::image type="content" source="../media/create-resource-offline-container.png" alt-text="A screenshot showing resource creation on the Azure portal.":::
5656

57-
3. Select **Review + Create** at the bottom of the page. Review the information, and select **Create**.
57+
1. Select **Review + Create** at the bottom of the page. Review the information, and select **Create**.
5858

5959
## Gather required parameters
6060

@@ -64,7 +64,7 @@ There are three required parameters for all Cognitive Services' containers:
6464
* The endpoint URL for your resource from the Azure portal.
6565
* The API key for your resource from the Azure portal.
6666

67-
Both the endpoint URL and API key are needed when you first run the container to configure it for disconnected usage. You can find the key and endpoint on the **Key and endpoint** page for your resource in the Azure portal.
67+
Both the endpoint URL and API key are needed when you first run the container to configure it for disconnected usage. You can find the key and endpoint on the **Key and endpoint** page for your resource in the Azure portal:
6868

6969
:::image type="content" source="../media/quickstarts/keys-and-endpoint-portal.png" alt-text="Screenshot: Azure portal keys and endpoint page.":::
7070

@@ -97,18 +97,18 @@ Now that you've downloaded your container, you'll need to execute the `docker ru
9797
> [!IMPORTANT]
9898
> The `docker run` command will generate a template that you can use to run the container. The template contains parameters you'll need for the downloaded models and configuration file. Make sure you save this template.
9999
100-
The following example shows the formatting of the `docker run` command with placeholder values. Replace these placeholder values with your own values.
100+
The following example shows the formatting for the `docker run` command with placeholder values. Replace these placeholder values with your own values.
101101

102102
| Placeholder | Value | Format|
103103
|-------------|-------|---|
104104
| `[image]` | The container image you want to use. | `mcr.microsoft.com/azure-cognitive-services/translator/text-translation` |
105105
| `{LICENSE_MOUNT}` | The path where the license will be downloaded, and mounted. | `/host/license:/path/to/license/directory` |
106106
| `{MODEL_MOUNT_PATH}`| The path where the machine translation models will be downloaded, and mounted. Your directory structure must be formatted as **/usr/local/models** | `/host/translator/models:/usr/local/models`|
107107
| `{ENDPOINT_URI}` | The endpoint for authenticating your service request. You can find it on your resource's **Key and endpoint** page, in the Azure portal. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
108-
| `{API_KEY}` | The key for your Text Analytics resource. You can find it on your resource's **Key and endpoint** page, in the Azure portal. |`32-character-string`|
108+
| `{API_KEY}` | The key for your Text Analytics resource. You can find it on your resource's **Key and endpoint** page, in the Azure portal. |`{string}`|
109109
| `{CONTAINER_LICENSE_DIRECTORY}` | Location of the license folder on the container's local filesystem. | `/path/to/license/directory` |
110110

111-
**Example `docker pull` command**
111+
**Example `docker run` command**
112112

113113
```docker
114114

0 commit comments

Comments
 (0)