hypriot/image-builder-rpi

Unable to add any containers

ictinc opened this issue · 1 comments

I just did a fresh install of the latest release on a RPI3b+. After logging in I tried running a container for portainer:

pirate@black-pearl:/opt# docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /home/pirate/portainer/:/data portainer/portainer
This gave me the following error:
Jul 23 21:53:59 black-pearl dockerd[462]: time="2020-07-23T21:53:59.575552050Z" level=error msg="Handler for POST /v1.40/containers/17b621a7d32f458c9b862c191ffb419e3d0da727ef9e2f5111a7694929e916a8/start returned error: failed to create endpoint portainer on network bridge: failed to add the host (vethc85057f) <=> sandbox (veth41d4e07) pair interfaces: operation not supported"

I ran the floowoing script to see what's missing:
https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh
Which gave the following output:

warning: /proc/config.gz does not exist, searching other paths for kernel config ...
error: cannot find kernel config
  try running this script again, specifying the kernel config:
    CONFIG=/path/to/kernel/.config ./check-config.sh or ./check-config.sh /path/to/kernel/.config

How would I continue from here?

No worries This issue was solved after rebooting the RPI.