Commit Graph

8 Commits

Author SHA1 Message Date
workaholic-gh
a565acabab
Update index.md
I was following the tutorial using "Docker Desktop for Windows" and received the following exception on execution of the "docker run..." command:

docker run -dp 3000:3000 -w /app -v "$(pwd):/app" node:12-alpine sh -c "yarn install && yarn run dev"

docker: Error response from daemon: status code not OK but 500:     ����          FDocker.Core, Version=3.0.0.50646, Culture=neutral, PublicKeyToken=null  ocker.Core.DockerException  WatsonBuckets  System.Collections.IDictionarySystem.Excepti     ocker.Core.DockerException   Filesharing has been cancelled

Adding the base-path as a shared resource to the docker configuration solved the problem.
2020-12-27 19:35:46 +01:00
Stefan Scherer
a33ed89ab3
Quote volume mapping and use pwd
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-07-15 08:45:25 +02:00
Stefan Scherer
f77065be98
Show multiline PowerShell commands
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-07-15 08:20:44 +02:00
Eric Hays
55a83f8292 Fix typo in -v description 2020-05-28 09:33:05 +00:00
Stefan Scherer
9bb08eeadd
Explain change for multi-line PowerShell commands
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-05-21 15:03:15 +02:00
Stefan Scherer
89230c73dc
Explain -v
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-05-21 15:02:30 +02:00
Michael Irwin
c60bb74386
Add curly brackets around $PWD usage to fix powershell issues
Signed-off-by: Michael Irwin <mikesir87@gmail.com>

Resolves #7
2020-04-15 10:35:22 -04:00
Michael Irwin
5bb26cc53a
Initial commit
Signed-off-by: mikesir87 <mikesir87@gmail.com>

Imported from dockersamples/101-tutorial, removed other languages
for now, and replaced PWD references with Docker Desktop.
2020-02-05 22:04:43 -05:00