Skip to content

Commit 642f4fb

Browse files
committed
updating note
1 parent f767d59 commit 642f4fb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/ai-services/containers/docker-compose-recipe.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ This procedure requires several tools that must be installed and run locally:
3737

3838
The YAML file defines all the Azure AI services containers to be deployed. These services rely on either a `DockerFile` or an existing container image. In this case, we'll use two images. Copy and paste the following YAML file, and save it as *docker-compose.yaml*. Provide the appropriate **apikey**, **billing**, and **EndpointUri** values in the file.
3939

40-
> [!NOTE]
41-
> To avoid errors, make sure that the host machine correctly shares drives with Docker Engine. For example, if *E:\mydirectory* is used as a directory in the *docker-compose.yaml* file, share drive **E** with Docker.
40+
> [!IMPORTANT]
41+
> Be sure to create the directories on the host machine that are specified under the `volumes` node, or provide ones that exist on your machine. These directories must exist before you try to mount an image by using volume bindings.
4242
4343
```yaml
4444
version: '3.7'
@@ -71,9 +71,6 @@ services:
7171
- "5021:5000"
7272
```
7373
74-
> [!IMPORTANT]
75-
> Create the directories on the host machine that are specified under the **volumes** node. This approach is required because the directories must exist before you try to mount an image by using volume bindings.
76-
7774
## Start the configured Docker Compose services
7875
7976
A Docker Compose file enables the management of all the stages in a defined service's life cycle: starting, stopping, and rebuilding services; viewing the service status; and log streaming. Open a command-line interface from the project directory (where the docker-compose.yaml file is located).

0 commit comments

Comments
 (0)