Skip to content

Commit c18562c

Browse files
authored
Merge pull request #21652 from dvdksn/windowsfilter
engine: add page for the windowsfilter storage driver
2 parents 597ade6 + 7ff0050 commit c18562c

File tree

4 files changed

+49
-4
lines changed

4 files changed

+49
-4
lines changed

_vale/Docker/Acronyms.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ exceptions:
7373
- NET
7474
- NFS
7575
- NOTE
76+
- NTFS
7677
- NTLM
7778
- NUMA
7879
- NVDA

_vale/config/vocabularies/Docker/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,4 @@ ufw
186186
umask
187187
vSphere
188188
vpnkit
189+
windowsfilter

content/manuals/engine/storage/drivers/select-storage-driver.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ Docker host. After you have read the [storage driver overview](./_index.md), the
1919
next step is to choose the best storage driver for your workloads. Use the storage
2020
driver with the best overall performance and stability in the most usual scenarios.
2121

22+
> [!NOTE]
23+
> This page discusses storage drivers for Docker Engine on Linux. If you're
24+
> running the Docker daemon with Windows as the host OS, the only supported
25+
> storage driver is windowsfilter. For more information, see
26+
> [windowsfilter](windowsfilter-driver.md).
27+
2228
The Docker Engine provides the following storage drivers on Linux:
2329

2430
| Driver | Description |
@@ -189,7 +195,8 @@ to physical or logical disks on the Docker host.
189195
190196
## Related information
191197

192-
- [About images, containers, and storage drivers](./_index.md)
193-
- [`overlay2` storage driver in practice](overlayfs-driver.md)
194-
- [`btrfs` storage driver in practice](btrfs-driver.md)
195-
- [`zfs` storage driver in practice](zfs-driver.md)
198+
- [Storage drivers](./_index.md)
199+
- [`overlay2` storage driver](overlayfs-driver.md)
200+
- [`btrfs` storage driver](btrfs-driver.md)
201+
- [`zfs` storage driver](zfs-driver.md)
202+
- [`windowsfilter` storage driver](windowsfilter-driver.md)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
description: Learn about the windowsfilter storage driver
3+
keywords: container, storage, driver, windows, windowsfilter
4+
title: windowsfilter storage driver
5+
---
6+
7+
The windowsfilter storage driver is the default storage driver for Docker
8+
Engine on Windows. The windowsfilter driver uses Windows-native file system
9+
layers to for storing Docker layers and volume data on disk. The windowsfilter
10+
storage driver only works on file systems formatted with NTFS.
11+
12+
## Configure the windowsfilter storage driver
13+
14+
For most use case, no configuring the windowsfilter storage driver is not
15+
necessary.
16+
17+
The default storage limit for Docker Engine on Windows is 127GB. To use a
18+
different storage size, set the `size` option for the windowsfilter storage
19+
driver. See [windowsfilter options](/reference/cli/dockerd.md#windowsfilter-options).
20+
21+
Data is stored on the Docker host in `image` and `windowsfilter` subdirectories
22+
within `C:\ProgramData\docker` by default. You can change the storage location
23+
by configuring the `data-root` option in the [Daemon configuration file](/reference/cli/dockerd.md#on-windows):
24+
25+
```json
26+
{
27+
"data-root": "d:\\docker"
28+
}
29+
```
30+
31+
You must restart the daemon for the configuration change to take effect.
32+
33+
## Additional information
34+
35+
For more information about how container storage works on Windows, refer to
36+
Microsoft's [Containers on Windows documentation](https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-storage).

0 commit comments

Comments
 (0)