Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 05_persisting_data.md #21697

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update 05_persisting_data.md
tried alternative sentences to make it clear
  • Loading branch information
shariqahmkhan authored Jan 5, 2025
commit 445358863c2ff726d6f224b6e686b1ca57074f0a
7 changes: 2 additions & 5 deletions content/get-started/workshop/05_persisting_data.md
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@

### See this in practice

To see this in action, you're going to start two container's. In one container,
To see this in action, you're going to start two containers. In one container,
you'll create a file. In the other container, you'll check whether that same
file exists.

@@ -194,17 +194,14 @@
The `Mountpoint` is the actual location of the data on the disk. Note that on most machines, you will
need to have root access to access this directory from the host.

This path is relative to Linux host machine and also in case you are running containers on Windows OS,
it means you are using Linux containers. Although, Windows containers have limited image support comapred
to Linux containers (such as contiki-ng), you can try to switch from Linux Container to Windows containers
and run following command to witness the relative path of volume changes on Linux based based to Windows based path.
This path is relative to the Linux host machine. If you're running containers on Windows OS, you're likely using Linux containers. While Windows containers have limited image support compared to Linux containers, you can switch to Windows containers and run the following command to observe how the relative path of volumes changes from Linux-based to Windows-based paths.

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 68}}}, "severity": "ERROR"}

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 120}}}, "severity": "ERROR"}

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 146}}}, "severity": "ERROR"}

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 202}}}, "severity": "ERROR"}

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'containers'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 240}}}, "severity": "ERROR"}

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'volumes'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'volumes'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 317}}}, "severity": "ERROR"}

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'changes'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'changes'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 325}}}, "severity": "ERROR"}

Check failure on line 197 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'paths'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'paths'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 197, "column": 367}}}, "severity": "ERROR"}

```console
docker volume create todo-app
docker volume ls
```

you will see volume by name todo-app, now perform volume inspection to see it's path

Check failure on line 204 in content/get-started/workshop/05_persisting_data.md

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'it's'. Raw Output: {"message": "[Vale.Terms] Use '(?-i)[A-Z]{2,}'?s' instead of 'it's'.", "location": {"path": "content/get-started/workshop/05_persisting_data.md", "range": {"start": {"line": 204, "column": 76}}}, "severity": "ERROR"}

```console
docker volume inspect todo-app
Loading
Oops, something went wrong.