mirror of https://github.com/docker/cli.git
Let graphdrivers declare diff stream fidelity
This allows graphdrivers to declare that they can reproduce the original diff stream for a layer. If they do so, the layer store will not use tar-split processing, but will still verify the digest on layer export. This makes it easier to experiment with non-default diff formats. Signed-off-by: Alfred Landrum <alfred.landrum@docker.com>
This commit is contained in:
parent
98bcbcf774
commit
4b8712eacb
|
@ -84,6 +84,29 @@ The request also includes a list of UID and GID mappings, structed as follows:
|
||||||
Respond with a non-empty string error if an error occurred.
|
Respond with a non-empty string error if an error occurred.
|
||||||
|
|
||||||
|
|
||||||
|
### /GraphDriver.Capabilities
|
||||||
|
|
||||||
|
**Request**:
|
||||||
|
```json
|
||||||
|
{}
|
||||||
|
```
|
||||||
|
|
||||||
|
Get behavioral characteristics of the graph driver. If a plugin does not handle
|
||||||
|
this request, the engine will use default values for all capabilities.
|
||||||
|
|
||||||
|
**Response**:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"ReproducesExactDiffs": false,
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Respond with values of capabilities:
|
||||||
|
|
||||||
|
* **ReproducesExactDiffs** Defaults to false. Flags that this driver is capable
|
||||||
|
of reproducing exactly equivalent diffs for read-only filesystem layers.
|
||||||
|
|
||||||
|
|
||||||
### /GraphDriver.Create
|
### /GraphDriver.Create
|
||||||
|
|
||||||
**Request**:
|
**Request**:
|
||||||
|
|
Loading…
Reference in New Issue