I can’t run docker, but I really want to. Can somebody help me figure this out? I am stuck. Check out below what I tried alredy;
sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
Sep 09 15:38:51 john systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Sep 09 15:38:51 john systemd[1]: docker.service: Failed with result 'exit-code'.
Sep 09 15:38:51 john systemd[1]: Failed to start Docker Application Container Engine.
Sep 09 15:38:53 john systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Sep 09 15:38:53 john systemd[1]: docker.service: Start request repeated too quickly.
Sep 09 15:38:53 john systemd[1]: docker.service: Failed with result 'exit-code'.
sudo dockerd -D
ERRO[2024-09-09T15:41:25.168306212+02:00] Failed to create bridge docker0 via netlink error="operation not supported"
docker version
Client:
Version: 27.1.2
API version: 1.46
Go version: go1.23.0
Git commit: d01f264bcc
Built: Sun Aug 18 14:43:14 2024
OS/Arch: linux/amd64
Context: default
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
sudo modprobe bridge
modprobe: ERROR: could not insert 'bridge': Unknown symbol in module, or unknown parameter (see dmesg)
sudo dmesg | grep -E "bridge|invalid|module"
[ 3523.718593] bridge: version magic '5.15.114-2-MANJARO SMP preempt mod_unload ' should be '5.15.165-1-MANJARO SMP preempt mod_unload '
[ 3563.817705] bridge: version magic '6.6.47-1-MANJARO SMP preempt mod_unload ' should be '5.15.165-1-MANJARO SMP preempt mod_unload '
I don’t use dock. Or LXD even. Or for that matter any containerization, so this is nothing else than a hunch:
I think your permissions are whacked. I almost suspect you ran the command to create the container with sudo initially. So try removing the bridge first:
sudo rm -rf /var/lib/docker/network
And then try starting it again.
I do not know if root (sudo) is necessary or should be used, I almost don’t think so.
The correct version for 5.15.165-1-MANJARO seems to be there so why is it picking up 5.15.114-2-MANJARO from somewhere? What do you have in ls /usr/lib/modules?