From 9bb08eeaddffa023cd30abd0a7d62bf58bb7dd16 Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Thu, 21 May 2020 15:03:15 +0200 Subject: [PATCH] Explain change for multi-line PowerShell commands Signed-off-by: Stefan Scherer --- docs/tutorial/multi-container-apps/index.md | 4 ++-- docs/tutorial/using-bind-mounts/index.md | 2 +- docs/tutorial/using-docker-compose/index.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tutorial/multi-container-apps/index.md b/docs/tutorial/multi-container-apps/index.md index 6a91af2..00894a1 100644 --- a/docs/tutorial/multi-container-apps/index.md +++ b/docs/tutorial/multi-container-apps/index.md @@ -38,7 +38,7 @@ For now, we will create the network first and attach the MySQL container at star ``` 1. Start a MySQL container and attach it the network. We're also going to define a few environment variables that the - database will use to initialize the database (see the "Environment Variables" section in the [MySQL Docker Hub listing](https://hub.docker.com/_/mysql/)). + database will use to initialize the database (see the "Environment Variables" section in the [MySQL Docker Hub listing](https://hub.docker.com/_/mysql/)) (replace the ` \ ` characters with `` ` `` in Windows PowerShell). ```bash docker run -d \ @@ -165,7 +165,7 @@ The todo app supports the setting of a few environment variables to specify MySQ With all of that explained, let's start our dev-ready container! -1. We'll specify each of the environment variables above, as well as connect the container to our app network. +1. We'll specify each of the environment variables above, as well as connect the container to our app network (replace the ` \ ` characters with `` ` `` in Windows PowerShell). ```bash hl_lines="3 4 5 6 7" docker run -dp 3000:3000 \ diff --git a/docs/tutorial/using-bind-mounts/index.md b/docs/tutorial/using-bind-mounts/index.md index ae75dcd..e3e3ba0 100644 --- a/docs/tutorial/using-bind-mounts/index.md +++ b/docs/tutorial/using-bind-mounts/index.md @@ -36,7 +36,7 @@ So, let's do it! 1. Make sure you don't have any previous `getting-started` containers running. -1. Run the following command. We'll explain what's going on afterwards: +1. Run the following command (replace the ` \ ` characters with `` ` `` in Windows PowerShell). We'll explain what's going on afterwards: ```bash docker run -dp 3000:3000 \ diff --git a/docs/tutorial/using-docker-compose/index.md b/docs/tutorial/using-docker-compose/index.md index fadb5cd..4129acb 100644 --- a/docs/tutorial/using-docker-compose/index.md +++ b/docs/tutorial/using-docker-compose/index.md @@ -49,7 +49,7 @@ And now, we'll start migrating a service at a time into the compose file. ## Defining the App Service -To remember, this was the command we were using to define our app container. +To remember, this was the command we were using to define our app container (replace the ` \ ` characters with `` ` `` in Windows PowerShell). ```bash docker run -dp 3000:3000 \ @@ -145,7 +145,7 @@ docker run -dp 3000:3000 \ ### Defining the MySQL Service -Now, it's time to define the MySQL service. The command that we used for that container was the following: +Now, it's time to define the MySQL service. The command that we used for that container was the following (replace the ` \ ` characters with `` ` `` in Windows PowerShell): ```bash docker run -d \