Add option to configure devices in yaml file#469
Conversation
Example: tvheadend: image: tvheadend devices: - "/dev/dvb/adapter0/dvr0:/dev/dvb/adapter0/dvr0" Format for each entry is HOST:CONTAINER. If only HOST is given then the file will be the same inside the container.
There was a problem hiding this comment.
Note, this is actually a vendored version of https://github.com/docker/docker-py
These changes should be made upstream
|
Thank you for the info. I didn't notice that. Is there a certain reason why there is a copy of it in here? |
|
Check out the discussion in #375 You might be able to just generate a patch with |
|
I requested the changes upstream now. How do we get the new version of docker-py in here then once the change hopefully got merged? |
|
+1 .. need to bind to /dev/vboxdrv |
|
Hi @twendt – new version of docker-py should be in Compose now! Would love to get this in. |
|
As #1400 has been merged, I guess this PR could/should be closed ;). |
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Example:
tvheadend:
image: tvheadend
devices:
Format for each entry is HOST:CONTAINER.
If only HOST is given then the file will be the same
inside the container.