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

gateway could not be found #13

Open
niernzc opened this issue Sep 10, 2019 · 0 comments
Open

gateway could not be found #13

niernzc opened this issue Sep 10, 2019 · 0 comments

Comments

@niernzc
Copy link

niernzc commented Sep 10, 2019

I can run the plugin and create a docker network without problem,but when I run a docker container there is something wrong.
[root@power27 glog]# docker run -v /run/docker/plugins:/run/docker/plugins -v /etc/docker:/etc/docker -v /var/run:/var/run --net=host --privileged -dit rdma/sriov-plugin f90255c141c76351f69e50506deaee1be2b4ce3d7482f4eef8e85c91fa8d3ac1 [root@power27 glog]# docker network create -d sriov --subnet=194.168.1.0/24 -o netdevice=ib0 mynet 66401367fb5291472d93cec3ea7fde9d91378fa1bca76eeab633efa14ec3090f [root@power27 glog]# docker run --net=mynet -itd --name=web nginx 88895a94a4503286dcd38078fcc87b860540327c37a534bd95cac0a39bed6825 docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"process_linux.go:407: running prestart hook 0 caused \\\"error running hook: exit status 1, stdout: , stderr: time=\\\\\\\"2019-09-10T16:56:38+08:00\\\\\\\" level=fatal msg=\\\\\\\"failed to set gateway while updating gateway: route for the gateway 194.168.1.1 could not be found: network is unreachable\\\\\\\"\\\\n\\\"\"": unknown.
any idea?

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