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/cognitive-services/containers/disconnected-containers.md
+27-11Lines changed: 27 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,11 +85,10 @@ Now that you've downloaded your container, you will need to run the container wi
85
85
86
86
> [!IMPORTANT]
87
87
> * 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.
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:
> * If you're using the [Translator container](../translator/containers/translator-how-to-install-container.md), it will generate a docker `run` template that you can use to run the container, containing two additional parameters you will need. Make sure you save these values :
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.
95
94
@@ -114,12 +113,8 @@ After you have configured the container, use the next section to run the contain
114
113
115
114
## Run the container in a disconnected environment
116
115
117
-
> [!NOTE]
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:
> If you're using the Translator or Speech-to-text containers, read the **Additional parameters** section below for information on commands or additional parameters you will need to use.
123
118
124
119
Once the license file has been downloaded, you can run the container in a disconnected environment. 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.
See the following sections for additional parameters and commands you may need to run the container.
143
+
144
+
#### Translator container
145
+
146
+
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 and container configuration. These values are generated and displayed in the container output when you [configure the container](#configure-the-container-to-be-run-in-a-disconnected-environment) as described above. For example:
The [speech-to-text container](../speech-service/speech-container-howto.md?tabs=stt) provides two default directories, `license` and `output`, by default for writing the license file and billing log at runtime. When you're mounting these directories to the container with the `docker run -v` command, make sure the local machine directory is set ownership to `user:group nonroot:nonroot` before running the container.
155
+
156
+
Below is a sample command to set file/directory ownership.
0 commit comments