Open mmguero opened 1 month ago
As I have realized this is going to require some changes to install.py
where we're adjusting the .yml, I'm going to bump this to a later release to handle it there.
I think the part we really want in the documentation is here: Volumes: Long Syntax
My rough-and-dirty attempt at find-and-replace in my text editor is:
Find: ^( )(-\s*)([^:]+):([^:]+)(:\w+)?$
Replace: $1 - type: bind\n$1 source: $3\n$1 target: $4\n$1 read_only$5\n$1 create_host_path: false
in install.py
the calls to ReplaceBindMountLocation
are what do this, which is found here. Changing from short form to long form will break this, so we'll have to adjust that when we do it.
See Differences between -v and --mount behavior:
Generating an error would be way preferable to creating an empty directory for our bind mounts.
As far as how to do this: