Closed FallingSnow closed 2 years ago
never used that feature myself
thing is this tool is now deprecated. you can find here a network driver instead for some mellanox card or other. (dont know if it can also work for your specific hardware, you will need to check)
I've actually already tried using rdma/sriov-plugin
. The issue I was running into was I couldn't find a way to get it to use DHCP. It provides a way to statically assign subnet (--subnet=
) and gateway/ip but I don't think it supports doing it through DHCP.
Do you know of any other way to pass a network device to a container?
It provides a way to statically assign subnet (
--subnet=
) and gateway/ip but I don't think it supports doing it through DHCP.
ok then maybe the better way forward is to then raise the matter as a new issue over on that other repo, where it can be fixes? (but i see no such issue there yet)
because like i said: this tool is now deprecated. it has been for very long time now. it is just never coming back at this point. if you need support then use the newer tool which is currently being supported :)
I understand.
Seems as though that tool is unmaintained at this point as everything moved to k8s.
Looks like I'll need to find another solution. Thank you for your time!
wait a minute!
because if you look on the network graph view of the mellanox repo
https://github.com/Mellanox/docker-sriov-plugin/network
then you can see there has been this 1 guy who has kept on making many more commits, up until january 2022
so maybe if you try his fork of it, or ask that guy for assistance. might be a further help to your predicament. he does not have issues enabled on his fork however
Oh wow, didn't see that. I'll look into his fork and see if it makes a difference. Thank you!
I'm trying to pass an SR-IOV interface to a test container but adding
--direct-phys
seems to be parsed incorrectly.Output from
docker-compose up
: (Note thepipework_1 | /entrypoint.sh: line 190: set: --: invalid option
line)