erpc-io / eRPC

Efficient RPCs for datacenter networks
https://erpc.io/
Other
835 stars 137 forks source link

Can I run erpc in docker ? #26

Closed shanshanpt closed 5 years ago

shanshanpt commented 5 years ago

Hi, When I ran erpc in dcoker , I got an error "Failed to open dev 0". And this is my docker setup cmd: "sudo docker run -ti -d --name=xxx --net=host -v /xxx:/xxx -v /dev:/dev docker-image /bin/bash " Thanks.

anujkaliaiitd commented 5 years ago

We have not tried out eRPC in docker containers yet, but I do plan to get eRPC working in VMs and containers in the future.

Ideally, eRPC should just work if an RDMA or DPDK-capable NIC is available to the container. There is some open-source support for InfiniBand verbs in containers: see https://github.com/Microsoft/Freeflow, or https://community.mellanox.com/s/article/how-to-create-a-docker-container-with-rdma-accelerated-applications-over-100gb-infiniband-network

shanshanpt commented 5 years ago

Thanks for your reply. :) I'll try these solutions;