Describe the bug
When running the install script everything worked except the iptables element, I ran that again seperately and I get this output:
Kernel Version: 3.10.108
Platform: avoton
- .ko files in place ? 🟢
- kernel modules loaded ? 🔴
- available for download ? 🟢
- CM script loads modules ?grep: /var/packages/ContainerManager/scripts/start-stop-status: No such file or directory
🔴
Installing and validating the kernel modules...
./install_iptables_modules.sh: line 129: 22705 Killed insmod ${MODULES_FOLDER}/${IP4MODULE}
This led to containers not being able to be created due to:
Unable to enable DIRECT ACCESS FILTERING - DROP rule: (iptables failed: iptables --wait -t raw -A PREROUTING -d 172.17.0.2 ! -i docker0 -j DROP: iptables v1.8.3 (legacy): can't initialize iptables table raw': Table does not exist (do you need to insmod?)
So I created this config:
more /etc/systemd/system/docker.service.d/override.conf
[Service]
Environment="DOCKER_INSECURE_NO_IPTABLES_RAW=1"
To reproduce
sudo ./install_iptables_modules.sh
Docker daemon configuration
cat: /var/packages/ContainerManager/etc/dockerd.json: No such file or directory
Additional context
Update Docker Engine and Docker Compose on Synology to target version
Current DSM version: 7.1.1
Current Docker version: 29.4.0
Current Docker Compose version: 5.1.2
Current containerd version: 2.2.2
Current runc version: 1.3.5
Describe the bug
When running the install script everything worked except the iptables element, I ran that again seperately and I get this output:
Kernel Version: 3.10.108
Platform: avoton
🔴
Installing and validating the kernel modules...
./install_iptables_modules.sh: line 129: 22705 Killed insmod ${MODULES_FOLDER}/${IP4MODULE}
This led to containers not being able to be created due to:
Unable to enable DIRECT ACCESS FILTERING - DROP rule: (iptables failed: iptables --wait -t raw -A PREROUTING -d 172.17.0.2 ! -i docker0 -j DROP: iptables v1.8.3 (legacy): can't initialize iptables table raw': Table does not exist (do you need to insmod?)
So I created this config:
more /etc/systemd/system/docker.service.d/override.conf
[Service]
Environment="DOCKER_INSECURE_NO_IPTABLES_RAW=1"
To reproduce
sudo ./install_iptables_modules.sh
Docker daemon configuration
Additional context
Update Docker Engine and Docker Compose on Synology to target version
Current DSM version: 7.1.1
Current Docker version: 29.4.0
Current Docker Compose version: 5.1.2
Current containerd version: 2.2.2
Current runc version: 1.3.5