mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Update style inconsistencies for code prompts in get-started (#13580)
* Fix style inconsistencies for powershell code in get-started * Fix style inconsistencies for powershell code in get-started
This commit is contained in:
@@ -52,7 +52,7 @@ So, let's do it!
|
||||
If you are using PowerShell then use this command:
|
||||
|
||||
```powershell
|
||||
docker run -dp 3000:3000 `
|
||||
PS> docker run -dp 3000:3000 `
|
||||
-w /app -v "$(pwd):/app" `
|
||||
node:12-alpine `
|
||||
sh -c "yarn install && yarn run dev"
|
||||
|
||||
@@ -65,10 +65,10 @@ $ docker run -dp 3000:3000 \
|
||||
sh -c "yarn install && yarn run dev"
|
||||
```
|
||||
|
||||
If you are using PowerShell then use this command.
|
||||
If you are using PowerShell then use this command:
|
||||
|
||||
```powershell
|
||||
docker run -dp 3000:3000 `
|
||||
PS> docker run -dp 3000:3000 `
|
||||
-w /app -v "$(pwd):/app" `
|
||||
--network todo-app `
|
||||
-e MYSQL_HOST=mysql `
|
||||
@@ -171,10 +171,10 @@ $ docker run -d \
|
||||
mysql:5.7
|
||||
```
|
||||
|
||||
If you are using PowerShell then use this command.
|
||||
If you are using PowerShell then use this command:
|
||||
|
||||
```powershell
|
||||
docker run -d `
|
||||
PS> docker run -d `
|
||||
--network todo-app --network-alias mysql `
|
||||
-v todo-mysql-data:/var/lib/mysql `
|
||||
-e MYSQL_ROOT_PASSWORD=secret `
|
||||
|
||||
Reference in New Issue
Block a user