Closed idsulik closed 3 weeks ago
I'm not a fan we introduce a special handling for /dev
prefix as docker run
does not support this either.
IMHO better introduce explicit support for "long syntax" in compose specification when setting a device mount, so user can disambiguate such a confusing path
I was going to add long syntax support myself, but it's already been done here https://github.com/compose-spec/compose-go/pull/676#pullrequestreview-2245052117
Closes #https://github.com/docker/compose/issues/12052
Added device with colon support, we used to support it before this commit https://github.com/compose-spec/compose-go/commit/072aa6418dcd93b4e31d0235df9dad5a6c11e63e
Example: