Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OMV5 fresh installation with docker - docker network create failes

Featured Replies

Hi there, I have just do a fresh install of armbian (Armbian_20.02.5_Odroidn2_buster_legacy_4.9.216) on odroid n2 and installed omv 5 via armbian softy tool.


Docker was installed via omv gui - omv extras - docker / portainer. When I now try to setup a separate network in docker / bridged mode I get the following error:


docker network create --driver=bridge --subnet=192.168.151.0/24 --gateway=192.168.151.1 home

Error response from daemon: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-7a5194cdef64 -j DOCKER: iptables v1.8.2 (nf_tables): RULE_INSERT failed (Invalid argument): rule in chain FORWARD

(exit status 4)


Searching google doesn't find a possible solution. Anyone here that have a hint for this?

  • Author

The corresponding entry in syslog in long:

 

dockerd[3322]: time="2020-05-04T19:34:03.278587409+02:00" level=error msg="Handler for POST /v1.40/networks/create returned error: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-c723c76c6721 -j DOCKER: iptables v1.8.2 (nf_tables):  RULE_INSERT failed (Invalid argument): rule
in chain FORWARD\n (exit status 4)"

  • Author

Yes I found one after a hint from another person. This is what I did in changing default iptables usage:

 

After changing iptables usage it worked:

 

Switching to the legacy version:

 

# update-alternatives --set iptables /usr/sbin/iptables-legacy

# update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

# update-alternatives --set arptables /usr/sbin/arptables-legacy

# update-alternatives --set ebtables /usr/sbin/ebtables-legacy

 

Quote

I installed default installation of armbian image with 4.9er kernel and installing omv 5.0 with armbian softy tool. Then I installed docker via omv webpage. On default the new iptables nft is used which breaks using "docker network create ..." because it seems iptable nft is still not supported using docker.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.