Skip to content

Commit e12c58f

Browse files
committed
YAML metadata added for "Mount on Windows" page.
1 parent 75a7d33 commit e12c58f

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

_data/toc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ guides:
365365
title: Volumes
366366
- path: /storage/bind-mounts/
367367
title: Bind mounts
368+
- path: /docker-for-windows/mounts-on-windows/
369+
title: Mounting Volumes on Windows
368370
- path: /storage/tmpfs/
369371
title: tmpfs mounts
370372
- path: /storage/troubleshooting_volume_errors/

docker-for-windows/mounts-on-windows.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
description: Using volumes on Microsoft Windows
3+
keywords: storage, persistence, data persistence, volumes, bind-mounts, windows
34
title: Using volumes on Microsoft Windows
4-
keywords: storage, persistence, data persistence, volumes, windows
5+
toc_min: 1
6+
toc_max: 2
7+
redirect_from:
8+
- /engine/admin/volumes/mounts-on-windows/
59
---
610

711
A Docker container's runtime data is either held in RAM or on the container's file system. By default all files created inside a container are stored in the writable layer of the container. This means that the data doesn’t persist when the container no longer exists, and it can be difficult to get the data out of the container if another process needs it.
@@ -59,9 +63,9 @@ The `--volume` syntax is more concise. It determines the mount type automaticall
5963

6064
In Docker for Windows, containers may store runtime data in up to four different locations:
6165

62-
1. [The container's runtime storage space itself](#store-runtime-data-in-the-container-s-file-system-storage-area)
63-
2. [The Microsoft Windows host file system](#bind-mount--store-runtime-data-in-the-windows-host-file-system)
64-
3. [A special *Managed Volume* storage area](#volume--store-runtime-data-in-a-special--managed-volume--storage-area)
66+
1. [The container's runtime storage space itself](#store-runtime-data-in-the-containers-file-system-storage-area)
67+
2. [The Microsoft Windows host file system](#bind-mount-store-runtime-data-in-the-windows-host-file-system)
68+
3. [A special *Managed Volume* storage area](#volume-store-runtime-data-in-a-special-managed-volume-storage-area)
6569
4. If the Docker client is running on WSL 2: [Another WSL 2 Linux distribution's file system](#bind-mount-and-volumes-handling-in-wsl-2)
6670

6771
![Windows Docker container mount types](images/types-of-windows-mounts.png)
@@ -348,7 +352,7 @@ Remoting data this way from the Windows host file system to the Linux container
348352

349353
### Bind-mounting to another WSL 2 Linux instance
350354

351-
Before utilizing Bind-mounting to files or directories of a WSL 2 Linux instance, make sure [Docker integration is enabled](wsl.md) in the corresponding WSL 2 instance.
355+
Before using Bind-mounting to files or directories of a WSL 2 Linux instance, make sure [Docker integration is enabled](wsl.md) in the corresponding WSL 2 instance.
352356

353357
To gain the best experience and benefit from maximum performance when Bind-mounting another WSL 2 Linux distro, create the Linux container from within the other WSL 2 Linux distro.
354358

@@ -404,4 +408,4 @@ Using Linux containers in Docker for Windows, local container Volumes will be st
404408

405409
NB: There is a way to inspect the contents of that WSL instance. See [this answer on SuperUser.com](https://superuser.com/a/1613591/1210833) for details.
406410

407-
For further details on Volumes in Docker for Windows to above section ["Volume: Store runtime data in a special *Managed Volume* storage area"](#Volume--Store-runtime-data-in-a-special--Managed-Volume--storage-area).
411+
For further details on Volumes in Docker for Windows to above section ["Volume: Store runtime data in a special *Managed Volume* storage area"](#volume-store-runtime-data-in-a-special-managed-volume-storage-area).

0 commit comments

Comments
 (0)