Docker: macvlan crashing
I have been using macvlan for a very long time, and have had no problems what so ever.
Now suddenly I started having an issue which would lock up my box (I'm running +25 containers), the box would run for everything from 15 minutes to 24 hours (sometimes longer) but it would lock up.
The only notification I would get would be an exception like this in dmesg:
Notice the 'nf_' (__nf_conntrack_), this is a known problem and have been around for some time; see here at Unraid.
As far as I can figure out there, are two (possibly) ways to solve the issue:
- move your macvlan to a non-bridge interface or to a bridged interface which is not the one you have been using until now.
- use ipvlan, there are pro/cons in regards to macvlan vs ipvlan - you'll have to decide for yourself.
I decided that the easiest way was to use ipvlan: