Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error response from daemon: NetworkDriver.CreateNetwork #28

Open
sdonoso opened this issue Nov 25, 2024 · 0 comments
Open

Error response from daemon: NetworkDriver.CreateNetwork #28

sdonoso opened this issue Nov 25, 2024 · 0 comments

Comments

@sdonoso
Copy link

sdonoso commented Nov 25, 2024

I am trying to follow the readme example and I have the following error:

~$ sudo docker network create -d sriov --subnet=194.168.1.0/24 -o netdevice=enp45s0f0 newnet


Error response from daemon: NetworkDriver.CreateNetwork: Fail to enable sriov: write /sys/class/net/enp45s0f0/device/sriov_numvfs: input/output error
sudo docker run -v /run/docker/plugins:/run/docker/plugins -v /etc/docker:/etc/docker -v /var/run:/var/run --net=host --privileged rdma/sriov-plugin

2024/11/25 19:22:38 Mellanox sriov plugin started version=0.1.2
2024/11/25 19:22:38 Ready to accept commands.
2024/11/25 19:23:04 Entering go-plugins-helpers createnetwork
2024/11/25 19:23:04 CreateNetwork() : [ &{NetworkID:53aea0a81e0caa01543e387c76cb81c7c9f03a11d70b0a5c876ef1ce80216b7f Options:map[com.docker.network.enable_ipv6:false com.docker.network.generic:map[netdevice:enp45s0f0]] IPv4Data:[0xc4202bd180] IPv6Data:[]} ]
2024/11/25 19:23:04 CreateNetwork IPv4Data len : [ 1 ]
2024/11/25 19:23:04 parseNetworkGenericOptions map[netdevice:enp45s0f0]
2024/11/25 19:23:04 Single port driver for device:  enp45s0f0
2024/11/25 19:23:04 cur_vfs =  0
2024/11/25 19:23:04 max_vfs =  64
2024/11/25 19:23:04 cur_vfs =  0

I check that SR-IOV is enabled in the BIOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant