'Docker in bridge network mode on ARM-based Synology NAS?
I have an ARM64-based Synology NAS device and have been trying to set up Docker on it using the instructions found here:
Can I install Docker on arm8 based Synology Nas
However, the fact that I can't use the default bridge network mode but instead have to use host mode (network_mode=host
) is preventing me from doing some things that I'd like to do. In the aforementioned thread user P Leo writes:
Please note, you need to set storage drive vfs, iptables off, bridge off due to a Linux kernel problem. And you need to run docker container with --network=host mode. It is not usual, but it is necessary due to Synology NAS kernel limitations.
I was wondering if anyone could shed more light on this apparent limitation? Based on other Synology- and Docker-related discussions online, it seems that it doesn't affect some users. Is the issue perhaps limited to ARM-based devices or specific Linux kernel versions (my device has 4.4.180+)? And most importantly, is there really no way around it?
Thanks in advance for any help!
Solution 1:[1]
The answer is Yes that you Can use completely docker functionality on ARM-based Synology NAS, including bridge functionality.
Before you use it, you need complete the missed .ko driver files for the Synology NAS linux kernel.
You can follow the steps in https://www.v2ex.com/t/850768#reply2 to complete all missed .ko files. Then you can run Docker with full functionality on ARM-based Synology NAS.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | P Leo |