Skip to content

Commit

Permalink
engine: clarify breaking change for recursive mounts
Browse files Browse the repository at this point in the history
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
  • Loading branch information
dvdksn committed Jan 22, 2024
1 parent c6dcf2f commit 9d0fe6a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions content/engine/release-notes/25.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,25 @@ For a full list of pull requests and changes in this release, refer to the relev
- [docker/cli, 25.0.0 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A25.0.0)
- [moby/moby, 25.0.0 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A25.0.0)

> **Note**
>
> In earlier versions of Docker Engine, recursive mounts (submounts) would
> always be mounted as writable, even when specifying a read-only mount. This
> behavior has changed in v25.0.0, for hosts running on kernel version 5.12 or
> later. Now, any submounts are recursively read-only by default for read-only
> bind mounts.
>
> To get the same behavior as earlier releases, you can specify the
> `bind-recursive` option for the `--mount` flag.
>
> ```console
> $ docker run --mount type=bind,src=SRC,dst=DST,readonly,bind-recursive=writable IMAGE
> ```
>
> This option isn't supported with the `-v` or `--volume` flag.
> For more information, see
> [Recursive mounts](../../storage/bind-mounts.md#recursive-mounts).
### New
- Add OpenTelemetry tracing. [moby/moby#45652](https://github.com/moby/moby/pull/45652), [moby/moby#45579](https://github.com/moby/moby/pull/45579)
Expand Down

0 comments on commit 9d0fe6a

Please sign in to comment.