Files
cli/opts
Paweł Gronowski c747cff9ab container/opts: Add bind-create-src mount option
Add support for the `bind-create-src` option in bind mounts, which
instructs the daemon to create the source mountpoint on the host if it
doesn't exist.

This allows to replace the legacy `-v /src/dir:/dst` with the `--mount`.

Usage:
--mount type=bind,src=/host/path,dst=/container/path,bind-create-src
--mount type=bind,src=/host/path,dst=/container/path,bind-create-src=true

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-03-04 18:00:01 +01:00
..
2025-08-20 15:03:05 +02:00
2026-02-11 11:30:25 +01:00
2023-05-05 18:23:03 +02:00
2022-03-26 20:21:00 +01:00
2025-08-18 18:40:05 +02:00
2025-10-13 11:47:39 +02:00
2026-02-11 13:35:26 +01:00