Skip to content

Commit d7913de

Browse files
committed
updating params
1 parent 1243daa commit d7913de

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,12 @@ docker pull mcr.microsoft.com/azure-cognitive-services/form-recognizer/invoice:l
8484
Now that you've downloaded your container, you will need to run the container with the `DownloadLicense=True` parameter in your `docker run` command. This parameter will download a license file that will enable your Docker container to run when it isn't connected to the internet. It also contains an expiration date, after which the license file will be invalid to run the container.
8585

8686
> [!IMPORTANT]
87-
> * When you run the container with `DownloadLicense=True`, your environment must be connected to the internet, and you must provide a valid key and endpoint. Once your container has been configured, it can be run disconnected from the internet, and without your key and endpoint.
8887
> * You can only use a license file with the appropriate container that you've been approved for. For example, you cannot use a license file for a speech-to-text container with a form recognizer container.
89-
> * If your container requires additional encrypted models, they should be downloaded by running the container with the `DownloadModel=True` flag.
88+
> * If you're using the [Translator container](../translator/containers/translator-how-to-install-container.md), you will need to add parameters for the downloaded translation models. For example:
89+
> ```bash
90+
> -e MODELS= /path/to/model1/, /path/to/model2/
91+
> -e TRANSLATORSYSTEMCONFIG=/path/to/model/config/translatorsystemconfig.json
92+
> ```
9093
9194
The following example shows the formatting of the `docker run` command you'll use, with placeholder values. Replace these placeholder values with your own values.
9295
@@ -112,7 +115,7 @@ After you have configured the container, use the next section to run the contain
112115
## Run the container in a disconnected environment
113116
114117
> [!NOTE]
115-
> If you're using the [Translator container](../translator/containers/translator-how-to-install-container.md), you will need to add parameters for the downloaded translation models. For example:
118+
> If you're using the [Translator container](../translator/containers/translator-how-to-install-container.md), you will need to add the following parameters to your `docker run` command, to mount the downloaded translation models. For example:
116119
> ```bash
117120
> -e MODELS= /path/to/model1/, /path/to/model2/
118121
> -e TRANSLATORSYSTEMCONFIG=/path/to/model/config/translatorsystemconfig.json

0 commit comments

Comments
 (0)