@@ -161,12 +161,14 @@ def _classify_volume(volume: str) -> tuple[str, str | None]:
161161# even when that letter is declared top-level, a declaration Docker ignores.
162162# Two letters (`CC:\data:/var`) is an ordinary named-volume reference instead.
163163#
164- # podman refuses every mount either reading makes (measured, podman 4.9.3): a
165- # colon inside a source has nowhere to go in a `-v` spec, which splits into at
166- # most source:target:options (`invalid option type "/var"`), and a container
167- # path that is not absolute is refused outright (`invalid container path`).
168- # So the whole family is a rule-two refusal, and a one-character volume name
169- # is reachable only through the long form, where Docker honours `source: v`.
164+ # podman refuses the anonymous readings outright (measured, podman 4.9.3): a
165+ # container path that is not absolute is an `invalid container path`, and no
166+ # spelling names one. The bind readings it does mount, through `--mount
167+ # type=bind`; only the short `-v` spec emitted here cannot, since that splits
168+ # into at most source:target:options (`invalid option type "/var"`). So the
169+ # bind half is a limitation rather than rule two, tracked in
170+ # docs/adr/0006-docker-rejection-parity.md. Either way, a one-character volume
171+ # name is reachable through the long form, where Docker honours `source: v`.
170172_DRIVE_SHAPED_SOURCE = re .compile (r"^[a-zA-Z]:" )
171173
172174
0 commit comments