On 7/22/20 07:57, Mauricio Tavares wrote:
> On Wed, Jul 22, 2020 at 6:14 AM Daniel Walsh <dwa...@redhat.com> wrote:
>> On 7/21/20 20:54, Gordon Messmer wrote:
>>> On 7/21/20 4:46 PM, Mauricio Tavares wrote:
>>>>        What is the argument I need to properly pass a PCI or PCIe
>>>> device to a podman container at runtime (podman-run)?
>>>
>>> Assuming that it's supported by the OS running podman, I believe you
>>> can mount the device node inside the container using the --volume option.
>>> _______________________________________________
>>> users mailing list -- users@lists.fedoraproject.org
>>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>>> Fedora Code of Conduct:
>>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>>> List Archives:
>>> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>> If this is a standard device on /dev. then using podman run --device or
>> podman create --device would put the device into the container.
>       How much is exposed vs abstracted using --device in podman vs in
> docker? Can I also do something like
>
> --mount type=bind,source=/sys/bus/pci/[...]
Yes this should work.
> to pass the device? And does podman support --cap-add options or has
> an equivalent?
Podman has everything that Docker has.  So yes --cap-add is supported.
>
>> _______________________________________________
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>> Fedora Code of Conduct: 
>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives: 
>> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to