Skip to content

Commit 830b5f1

Browse files
Merge pull request #6308 from thaJeztah/28.x_backport_mountrecursive
[28.x] docs: add deprecated `bind-nonrecursive` option for `--mount`
2 parents abfc1f4 + 31fa40c commit 830b5f1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/deprecated.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ The following table provides an overview of the current status of deprecated fea
6464
| Removed | [`Container` and `ContainerConfig` fields in Image inspect](#container-and-containerconfig-fields-in-image-inspect) | v25.0 | v26.0 |
6565
| Removed | [Deprecate legacy API versions](#deprecate-legacy-api-versions) | v25.0 | v26.0 |
6666
| Removed | [Container short ID in network Aliases field](#container-short-id-in-network-aliases-field) | v25.0 | v26.0 |
67+
| Deprecated | [Mount `bind-nonrecursive` option](#mount-bind-nonrecursive-option) | v25.0 | v29.0 |
6768
| Removed | [IsAutomated field, and `is-automated` filter on `docker search`](#isautomated-field-and-is-automated-filter-on-docker-search) | v25.0 | v28.2 |
6869
| Removed | [logentries logging driver](#logentries-logging-driver) | v24.0 | v25.0 |
6970
| Removed | [OOM-score adjust for the daemon](#oom-score-adjust-for-the-daemon) | v24.0 | v25.0 |
@@ -415,6 +416,26 @@ A new field `DNSNames` containing the container name (if one was specified),
415416
the hostname, the network aliases, as well as the container short ID, has been
416417
introduced in v25.0 and should be used instead of the `Aliases` field.
417418

419+
### Mount `bind-nonrecursive` option
420+
421+
**Deprecated in release: v25.0**
422+
**Scheduled for removal in release: v29.0**
423+
424+
The `bind-nonrecursive` option was replaced with the [`bind-recursive`]
425+
option (see [cli-4316], [cli-4671]). The option was still accepted, but
426+
printed a deprecation warning:
427+
428+
```console
429+
bind-nonrecursive is deprecated, use bind-recursive=disabled instead
430+
```
431+
432+
In the v29.0 release, this warning will be removed and returned as an error.
433+
Users should use the equivalent `bind-recursive=disabled` option instead.
434+
435+
[`bind-recursive`]: https://docs.docker.com/engine/storage/bind-mounts/#recursive-mounts
436+
[cli-4316]: https://github.com/docker/cli/pull/4316
437+
[cli-4671]: https://github.com/docker/cli/pull/4671
438+
418439
### IsAutomated field, and `is-automated` filter on `docker search`
419440

420441
**Deprecated in Release: v25.0**

0 commit comments

Comments
 (0)