Skip to content

docker/dhcpcd conflict #253

@gbsmith

Description

@gbsmith

Wanted to share this in case anyone else experiences the same issue. After installing the IOTStack and building out a bunch of containers, my RPi4 seemingly stopped booting. Turns out it was booting - but the network was hosed, and nothing could get in or out. I finally found out that the docker.service was killing the dhcpcd service. Even if I set up dhcpcd to start after docker on boot, any restart of docker would take dhcpcd down. Simply adding

allowinterfaces eth0,wlan0

at the end of /etc/dhcpcd.conf appears to have done the trick, confining DHCP client activities just to those two main interfaces and staying out of docker's way.

(this and falling back to the Sep 2020 bootloader to keep the SSD booting!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions