Docker Autostart doesn't work - NetworkInterface missing


Aluavin

Recommended Posts

Hi,

 

So for a while now I have this issue.

Whenever I start my Unraid System (sometimes you need to reboot) the Dockers can't start automatically.

So I went into edit Mode and I saw that the `Network Type` is set to none, instead of `br0`. Since this Interface is only missing for Docker (my VM templates still offers me to select it) I went to Settings/Docker and disabled the service and enabled it again.

 

I went back to edit the container and tada: network interface is already selected properly and container boots just fine.

Having a look in the Syslog prompts me:

Oct 26 09:31:42 Columbus emhttpd: Autostart enabled
Oct 26 09:31:42 Columbus root: Starting diskload
Oct 26 09:31:42 Columbus kernel: br0: port 1(eth0) entered disabled state
Oct 26 09:31:43 Columbus tips.and.tweaks: Tweaks Applied
Oct 26 09:31:43 Columbus emhttpd: Mounting disks...
Oct 26 09:31:43 Columbus emhttpd: shcmd (53): /sbin/btrfs device scan
Oct 26 09:31:43 Columbus root: Scanning for Btrfs filesystems
Oct 26 09:31:43 Columbus emhttpd: shcmd (54): mkdir -p /mnt/disk1
Oct 26 09:31:43 Columbus emhttpd: shcmd (55): mount -t xfs -o noatime,nodiratime /dev/mapper/md1 /mnt/disk1
Oct 26 09:31:43 Columbus kernel: SGI XFS with ACLs, security attributes, no debug enabled
Oct 26 09:31:43 Columbus kernel: XFS (dm-0): Mounting V5 Filesystem
Oct 26 09:31:43 Columbus dhcpcd[1735]: br0: carrier lost
Oct 26 09:31:43 Columbus avahi-daemon[5309]: Withdrawing address record for 192.168.178.26 on br0.
Oct 26 09:31:43 Columbus avahi-daemon[5309]: Leaving mDNS multicast group on interface br0.IPv4 with address 192.168.178.26.
Oct 26 09:31:43 Columbus avahi-daemon[5309]: Interface br0.IPv4 no longer relevant for mDNS.
Oct 26 09:31:43 Columbus dhcpcd[1735]: br0: deleting route to 192.168.178.0/24
Oct 26 09:31:43 Columbus dhcpcd[1735]: br0: deleting default route via 192.168.178.1

Does this means the br0 will be disabled for some time (maybe in this time also means, that the docker service is starting)?

 

What can I do to solve this issue?

 

01_nointerface.png

02_interface_after_docker_reboot.png

03_network.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.