Commit Graph

23 Commits

Author SHA1 Message Date
workaholic-gh e4e9e33602
Merge a565acabab into bb1aed919a 2025-04-07 16:58:56 +08:00
Michael Irwin d7a15dd12a
Clarify removal of containers shouldn't remove tutorial
Signed-off-by: Michael Irwin <mikesir87@gmail.com>

Resolves #28
2022-12-14 10:45:23 -05:00
Michael Irwin b6ea4168d4
Update screenshots and docs to latest versions
Signed-off-by: Michael Irwin <mikesir87@gmail.com>
2022-11-22 23:13:08 -05:00
Stefan Scherer 2dac6361da
Merge pull request #243 from yuuyins/issue-76-2
Fix #76
2022-04-11 16:48:15 +02:00
yuu 9b5581d3bd
Fix #76
If the user runs that command "from the source code folder", i.e.
`getting-started`, docker will bind-mount getting-started to the
container's `/app`, which leads to error
`error Couldn't find a package.json file in "/app"`. It needs to bind
`getting-started/app` instead.
So, be explicit to the reader to be on the app source's directory
`getting-started/app` before running the command.
2022-02-12 01:35:40 -03:00
Stefan Scherer 798c396e89
Merge pull request #140 from tjmcewan/patch-1
Update dev mode command to install sqlite3 deps
2022-02-10 09:59:19 +01:00
Stefan Scherer 9eab81d81e
Update index.md 2022-02-10 09:58:21 +01:00
Stefan Scherer 42f8dbe70c
Merge pull request #187 from ollyhowell/patch-1
Add reminder to save file for the app refresh change
2021-11-12 09:25:15 +01:00
Stefan Scherer 5ded522cbf
Merge pull request #90 from spicylentils/patch-3
Update docs/tutorial/using-bind-mounts/index.md
2021-11-12 08:31:17 +01:00
Stefan Scherer 5c65399cec
Merge pull request #113 from NicolaeTelescu/patch-1
Update index.md from using bind mount
2021-11-12 08:16:00 +01:00
Oliver Howell 433353af1c
Add reminder to save file for the app refresh 2021-09-14 15:39:14 +01:00
Tim McEwan 0edef34461
Update dev mode command to install sqlite3 deps 2021-04-30 17:59:29 +10:00
zipperer e43a605d37 Edit docs/tutorial/using-bind-mounts/index.md
'uses cases' |-> 'use cases'
2021-03-09 08:49:09 +00:00
Telescu Nicolae e9f8d4443a
Update index.md
The command for bind mount doesn't run in Ubuntu if the user is not in the source code folder. At least, for me didn't work. So I specified that to prevent errors and bugs.
2021-01-20 11:06:02 +02:00
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
spicylentils a2932698bd
Update docs/tutorial/using-bind-mounts/index.md
Fix confusing wording regarding sources and destinations
2020-09-28 17:01:39 -07: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