Files
moby/daemon
Shane St Savage beeacde4b2 Remove restriction on anonymous read-only volumes
Restriction on anonymouse read-only volumes is currently preventing
the use of pre-populated volumes that should be accessed in a read-only manner in a container
(e.g. an NFS volume containing data to be processed or served).

According to @neersighted the restriction may have originally been put
in place with the assumption that pre-populated volumes would be
exposed as a named volume by the volume driver.

In practice, NFS volumes are mounted using the docker `local` driver
by supplying driver opts. Example that fails when `readonly` is specified but works without:

```
docker run --rm -it \
 --mount 'readonly,type=volume,dst=/data/dest,volume-driver=local,volume-opt=type=nfs,volume-opt=device=:/export/some-share,"volume-opt=o=nfsvers=4,addr=some.server"' \
  debian
```

Fixes #45297

Signed-off-by: Shane St Savage <shane@axds.co>
2025-12-18 16:08:31 -08:00
..
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-16 16:55:20 +01:00
2025-07-31 10:13:29 -07:00
2025-12-02 02:30:14 +09:00
2025-12-11 11:07:42 +01:00
2025-12-15 18:56:34 +01:00
2025-05-30 15:59:13 +02:00
2025-12-15 18:56:34 +01:00
2025-12-15 10:36:05 +00:00
2025-05-30 15:59:13 +02:00
2025-07-31 10:13:29 -07:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-11-05 15:48:02 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 13:59:09 +00:00
2025-08-01 01:48:55 +02:00