- Category: Linux
- Published: Sunday, 10 October 2021 11:25
- Written by Ben Tasker
This, almost certainly, was a mess of my own making, but as I didn't find any answers with web searches I thought it was worth documenting for anyone else who sets a similar time bomb for themselves.
I've got some Raspberry Pi's which use NFS for their root partition. They used to be PXE booted, but at some point starting failing to boot so some time back I put a SD card back in for the
This, I suspect, was probably my undoing.
The Pi's have been working fine since, but I wanted to install Docker onto one of them. Although it installed, Docker failed to start, logging the following
Oct 09 22:45:43 redim-4-search-pi dockerd: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to Oct 09 22:45:43 redim-4-search-pi dockerd: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.19.75-v8+ Oct 09 22:45:43 redim-4-search-pi dockerd: iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Oct 09 22:45:43 redim-4-search-pi dockerd: Perhaps iptables or your kernel needs to be upgraded. Oct 09 22:45:43 redim-4-search-pi dockerd: (exit status 3) Oct 09 22:45:43 redim-4-search-pi systemd: docker.service: Main process exited, code=exited, status=1/FAILURE
On examination, there is no modules directory for the kernel version I'm currently running
root@redim-4-search-pi:~# uname -r 4.19.75-v8+ root@redim-4-search-pi:~# ls /lib/modules/ 4.19.66+ 4.19.66-v7+
This post details the steps I took to resolve this issue