Access CAN without granting host network privilege to the container


I wanted to create a Docker container that would handle the CAN traffic. Everything went perfectly after granting the host network when running the container (–net=host), but this method is preventing me from exposing ports (Published ports are discarded when using host network mode).
Is there any solutions to access CAN without host privileges?

Thank you in advance.

I am using:

  • Verdin imx8m Plus
  • Verdin dev board V1.1E
  • TorizonCore

Hi @Mouadh,

Welcome to our community :tada:

Thanks for your question.

Can you share the method that you’re talking about? Also the Dockerfile of your container would be interesting to see.

Best Regards

Hello @Mouadh ,
Do you have any updates on this topic?

Best regards,