-
Notifications
You must be signed in to change notification settings - Fork 60
draft: optional binds #1605
base: master
Are you sure you want to change the base?
draft: optional binds #1605
Conversation
:code:`--bind-path={PATH[:PREFIX}` | ||
Add file from path to to ch-run optional default run-time binds. | ||
|
||
* Path to host file. Optionally bind at prefix if set; otherwise, | ||
:code:`/usr/local/lib` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure this (i.e., arbitrary default bind-mounts) can be implemented, but I'm not sure offhand how to do it. If there's not an immediate use case, maybe leave this for future work?
Optional bind selection: :code:`--bind-FOO` | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these will want to be spelled --enable-bind-FOO
, because --enable
gets special treatment in Autotools.
Some dependencies can be specified as follows. Note only some of these support | ||
:code:`--with-FOO=no`, as listed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this move?
By default, :code:`ch-run` binds the minimal number mount points needed to run. | ||
You can add more files with: | ||
|
||
:code:`--bind-path={PATH[:PREFIX}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:code:`--bind-path={PATH[:PREFIX}` | |
:code:`--bind-path={HOST_PATH[:IMAGE_PATH]}` |
No description provided.