mirror of https://github.com/docker/docs.git
Link to storage options from each driver's page (#4080)
This commit is contained in:
parent
4f2b8d9853
commit
29a1f258f8
|
@ -110,6 +110,11 @@ This procedure is essentially identical on SLES and Ubuntu.
|
|||
}
|
||||
```
|
||||
|
||||
See all storage options for each storage driver:
|
||||
|
||||
- [Stable](/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
- [Edge](/edge/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
|
||||
7. Start Docker. After it is running, verify that `btrfs` is being used as the
|
||||
storage driver.
|
||||
|
||||
|
|
|
@ -68,6 +68,11 @@ For production systems, see
|
|||
}
|
||||
```
|
||||
|
||||
See all storage options for each storage driver:
|
||||
|
||||
- [Stable](/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
- [Edge](/edge/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
|
||||
Docker will not start if the `daemon.json` file contains badly-formed JSON.
|
||||
|
||||
3. Start Docker.
|
||||
|
@ -147,7 +152,7 @@ manually](#configure-direct-lvm-mode-manually) instead. The following new
|
|||
configuration options have been added:
|
||||
|
||||
| Option | Description | Required? | Default | Example |
|
||||
| --- | --- | --- | --- | --- |
|
||||
|:--------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------|:--------|:-----------------------------------|
|
||||
| `dm.directlvm_device` | The path to the block device to configure for `direct-lvm`. | Yes | | `dm.directlvm_device="/dev/xvdf"` |
|
||||
| `dm.thinp_percent` | The percentage of space to use for storage from the passed in block device. | No | 95 | `dm.thinp_percent=95` |
|
||||
| `dm.thinp_metapercent` | The percentage of space to for metadata storage from the passed=in block device. | No | 1 | `dm.thinp_metapercent=1` |
|
||||
|
@ -168,11 +173,16 @@ options in the table above.
|
|||
"dm.thinp_metapercent=1",
|
||||
"dm.thinp_autoextend_threshold=80",
|
||||
"dm.thinp_autoextend_percent=20",
|
||||
"dm.directlvm_device_force=false"
|
||||
"dm.directlvm_device_force=false"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
See all storage options for each storage driver:
|
||||
|
||||
- [Stable](/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
- [Edge](/edge/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
|
||||
Restart Docker for the changes to take effect. Docker invokes the commands to
|
||||
configure the block device for you.
|
||||
|
||||
|
|
|
@ -92,6 +92,11 @@ Before following this procedure, you must first meet all the
|
|||
}
|
||||
```
|
||||
|
||||
See all storage options for each storage driver:
|
||||
|
||||
- [Stable](/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
- [Edge](/edge/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
|
||||
Docker will not start if the `daemon.json` file contains badly-formed JSON.
|
||||
|
||||
5. Start Docker.
|
||||
|
@ -493,8 +498,8 @@ filesystems:
|
|||
descriptors refer to different files. The `fd1` continues to reference the file
|
||||
in the image (`lowerdir`) and the `fd2` references the file in the container
|
||||
(`upperdir`). A workaround for this is to `touch` the files which causes the
|
||||
copy-up operation to happen. All subsequent `open(2)` operations regardless of
|
||||
read-only or read-write access mode will be referencing the file in the
|
||||
copy-up operation to happen. All subsequent `open(2)` operations regardless of
|
||||
read-only or read-write access mode will be referencing the file in the
|
||||
container (`upperdir`).
|
||||
|
||||
`yum` is known to be affected unless the `yum-plugin-ovl` package is installed.
|
||||
|
|
|
@ -134,6 +134,11 @@ Edit `/etc/docker/daemon.json` and add the following:
|
|||
}
|
||||
```
|
||||
|
||||
See all storage options for each storage driver:
|
||||
|
||||
- [Stable](/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
- [Edge](/edge/engine/reference/commandline/dockerd.md#storage-driver-options)
|
||||
|
||||
Save and close the file, and restart Docker.
|
||||
|
||||
## How the `zfs` storage driver works
|
||||
|
|
Loading…
Reference in New Issue