We have a Docker application that is supposed to run on the X20Edge with Software Image Version 1V8.2. As we conduct the step of installing the dependencies of the Python application into a Docker container the following error message is generated:
Error response from daemon: failed to set up container networking: failed to create endpoint edgedevice-backend-1 on network edgedevice_default: Unable to enable DIRECT ACCESS FILTERING - DROP rule: (iptables failed: iptables: iptables v1.8.9 (legacy): can't initialize iptables table `raw': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
What we’ve tried so far:
- kernel update
- using the host network driver by setting –net=host
The downloads ran through by disabling the iptables in the daemon.json. However, according to my research, this disables port mapping, which our application depends on.
Right now I am not completely sure how to proceed on this issue, as disabling iptables is not an option. This leads me to my question: What is the recommended way to enable full Docker networking support, including port mapping, on the X20Edge platform?