Docker fails to start

I’m installing docker for the first time in endeavour but I seem to be missing something:

LC_ALL=en_US yay -S docker-git
AUR Explicit (1): docker-git-1:r46893.a908460adb-1
:: PKGBUILD up to date, skipping download: docker-git
  1 docker-git                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 docker-git                       (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
==> Making package: docker-git 1:r46893.a908460adb-1 (Wed Mar 27 15:12:18 2024)
==> Retrieving sources...
  -> Updating moby git repo...
  -> Updating docker-ce git repo...
  -> Updating containerd git repo...
  -> Updating runc git repo...
  -> Updating libnetwork git repo...
  -> Updating tini git repo...
  -> Found docker.install
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    moby ... Skipped
    docker-ce ... Skipped
    containerd ... Skipped
    runc ... Skipped
    libnetwork ... Skipped
    tini ... Skipped
    docker.install ... Passed
:: (1/1) Parsing SRCINFO: docker-git
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
==> Making package: docker-git 1:r46893.a908460adb-1 (Wed Mar 27 15:12:23 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating moby git repo...
  -> Updating docker-ce git repo...
  -> Updating containerd git repo...
  -> Updating runc git repo...
  -> Updating libnetwork git repo...
  -> Updating tini git repo...
  -> Found docker.install
==> Validating source files with sha256sums...
    moby ... Skipped
    docker-ce ... Skipped
    containerd ... Skipped
    runc ... Skipped
    libnetwork ... Skipped
    tini ... Skipped
    docker.install ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of moby git repo...
Cloning into 'moby'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
  -> Creating working copy of docker-ce git repo...
Cloning into 'docker-ce'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
  -> Creating working copy of containerd git repo...
Cloning into 'containerd'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
  -> Creating working copy of runc git repo...
Cloning into 'runc'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
  -> Creating working copy of libnetwork git repo...
Cloning into 'libnetwork'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
  -> Creating working copy of tini git repo...
Cloning into 'tini'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
==> Starting prepare()...
~/.cache/yay/docker-git/src
==> Starting pkgver()...
==> Updated version: docker-git 1:r48919.484480f56a-1
==> Sources are ready.
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
==> Making package: docker-git 1:r48919.484480f56a-1 (Wed Mar 27 15:12:30 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
  -> building runc
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
rm -f libcontainer/dmz/binary/runc-dmz
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
go generate -tags "seccomp apparmor selinux" ./libcontainer/dmz
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
make[1]: Entering directory '/home/vfbsilva/.cache/yay/docker-git/src/runc/libcontainer/dmz'
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/vfbsilva/.cache/yay/docker-git/src=/usr/src/debug/docker-git -flto=auto -fno-asynchronous-unwind-tables -fno-ident -s -Os -nostdlib -lgcc -static -o binary/runc-dmz _dmz.c
nolibc/crt.h:23:13: warning: type of '_nolibc_main' does not match original declaration [-Wlto-type-mismatch]
   23 |         int _nolibc_main(int, char **, char **) __asm__ ("main");
      |             ^
_dmz.c:13:5: note: type mismatch in parameter 3
   13 | int main(int argc, char **argv)
      |     ^
_dmz.c:13:5: note: 'main' was previously declared here
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
/usr/bin/ld: /tmp/cclAIEOT.ltrans0.ltrans.o: in function `_start':
/usr/src/debug/docker-git/go/src/github.com/opencontainers/runc/libcontainer/dmz/<artificial>:166:(.text+0xe): undefined reference to `_start_c'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:18: binary/runc-dmz] Error 1
make[1]: Leaving directory '/home/vfbsilva/.cache/yay/docker-git/src/runc/libcontainer/dmz'
libcontainer/dmz/dmz_linux.go:27: running "make": exit status 2
make: *** [Makefile:103: runc-dmz] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: docker-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
docker-git - exit status 4

I got no clue about what is going on.

Is there a reason you’re installing docker-git instead of docker from the official repos?

docker-git, which has been flagged out of date two months ago, does not build on my system as well.

Unless you have a very specific reason to use docker-git, I recommend just installing docker from the official repos.

Cause the docker package also did not work. I uninstalled the git one and rebuild the normal docker:

systemctl status docker.service
● docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2024-03-27 15:39:32 -03; 1s a>
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
    Process: 146431 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.so>
   Main PID: 146431 (code=exited, status=1/FAILURE)
        CPU: 67ms
vfbsilva@isengard ~ $ journalctl -xeu docker.service
β–‘β–‘ Subject: A unidade docker.service falhou
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ A unidade docker.service falhou.
β–‘β–‘ 
β–‘β–‘ O resultado Γ© failed.
mar 27 15:39:33 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at >
β–‘β–‘ Subject: Automatic restarting of a unit has been scheduled
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ Automatic restarting of the unit docker.service has been scheduled, as the result for
β–‘β–‘ the configured Restart= setting for the unit.
mar 27 15:39:33 isengard systemd[1]: docker.service: Start request repeated too quickly.
mar 27 15:39:33 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
β–‘β–‘ Subject: Unit failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ The unit docker.service has entered the 'failed' state with result 'exit-code'.
mar 27 15:39:34 isengard systemd[1]: Failed to start Docker Application Container Engine.
β–‘β–‘ Subject: A unidade docker.service falhou
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ A unidade docker.service falhou.
β–‘β–‘ 
β–‘β–‘ O resultado Γ© failed.

Can you post the output of

$ journalctl -u docker.service
mar 27 14:34:39 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.385915216-03:00" level=info msg="Starting up"
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.399148294-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.399163833-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.399267827-03:00" level=info msg="Loading containers: start."
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.400984560-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.402487504-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.711864556-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:34:39 isengard dockerd[98480]: time="2024-03-27T14:34:39.712192037-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:34:39 isengard dockerd[98480]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:34:39 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:34:39 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:34:39 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:34:41 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
mar 27 14:34:41 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:34:41 isengard dockerd[98560]: time="2024-03-27T14:34:41.765450590-03:00" level=info msg="Starting up"
mar 27 14:34:41 isengard dockerd[98560]: time="2024-03-27T14:34:41.778726188-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:34:41 isengard dockerd[98560]: time="2024-03-27T14:34:41.778744302-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:34:41 isengard dockerd[98560]: time="2024-03-27T14:34:41.778844208-03:00" level=info msg="Loading containers: start."
mar 27 14:34:41 isengard dockerd[98560]: time="2024-03-27T14:34:41.779895139-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:34:41 isengard dockerd[98560]: time="2024-03-27T14:34:41.781443367-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:34:42 isengard dockerd[98560]: time="2024-03-27T14:34:42.025881426-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:34:42 isengard dockerd[98560]: time="2024-03-27T14:34:42.026243432-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:34:42 isengard dockerd[98560]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:34:42 isengard dockerd[98560]: time="2024-03-27T14:34:42.026409822-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:34:42 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:34:42 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:34:42 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:34:44 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
mar 27 14:34:44 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.097008022-03:00" level=info msg="Starting up"
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.110411219-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.110432478-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.110541311-03:00" level=info msg="Loading containers: start."
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.111621878-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.113127867-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.402210897-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:34:44 isengard dockerd[98650]: time="2024-03-27T14:34:44.402551723-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:34:44 isengard dockerd[98650]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:34:44 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:34:44 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:34:44 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:34:46 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
mar 27 14:34:46 isengard systemd[1]: docker.service: Start request repeated too quickly.
mar 27 14:34:46 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:34:46 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:47:24 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.028967934-03:00" level=info msg="Starting up"
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.043681452-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.043832143-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.044079433-03:00" level=info msg="Loading containers: start."
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.045147249-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.046689157-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.332292604-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.332637094-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:47:24 isengard dockerd[106221]: time="2024-03-27T14:47:24.332748962-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:47:24 isengard dockerd[106221]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:47:24 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:47:24 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:47:24 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:47:26 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
mar 27 14:47:26 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.421899929-03:00" level=info msg="Starting up"
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.434822967-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.434843635-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.434949863-03:00" level=info msg="Loading containers: start."
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.436013712-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.437474860-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.718753685-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.719110378-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:47:26 isengard dockerd[106307]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:47:26 isengard dockerd[106307]: time="2024-03-27T14:47:26.719276698-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:47:26 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:47:26 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:47:26 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:47:28 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
mar 27 14:47:28 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:47:28 isengard dockerd[106395]: time="2024-03-27T14:47:28.796548137-03:00" level=info msg="Starting up"
mar 27 14:47:28 isengard dockerd[106395]: time="2024-03-27T14:47:28.809004777-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:47:28 isengard dockerd[106395]: time="2024-03-27T14:47:28.809022300-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:47:28 isengard dockerd[106395]: time="2024-03-27T14:47:28.809138757-03:00" level=info msg="Loading containers: start."
mar 27 14:47:28 isengard dockerd[106395]: time="2024-03-27T14:47:28.810174774-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:47:28 isengard dockerd[106395]: time="2024-03-27T14:47:28.811674654-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:47:29 isengard dockerd[106395]: time="2024-03-27T14:47:29.089385406-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:47:29 isengard dockerd[106395]: time="2024-03-27T14:47:29.089738263-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:47:29 isengard dockerd[106395]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:47:29 isengard dockerd[106395]: time="2024-03-27T14:47:29.089896617-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:47:29 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:47:29 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:47:29 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:47:31 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
mar 27 14:47:31 isengard systemd[1]: docker.service: Start request repeated too quickly.
mar 27 14:47:31 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:47:31 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:47:54 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.655364370-03:00" level=info msg="Starting up"
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.668748383-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.668769483-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.668869799-03:00" level=info msg="Loading containers: start."
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.670031841-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.671584220-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.924768516-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.925116494-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:47:54 isengard dockerd[107239]: time="2024-03-27T14:47:54.925292451-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:47:54 isengard dockerd[107239]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:47:54 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:47:54 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:47:54 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:47:56 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
mar 27 14:47:56 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:47:56 isengard dockerd[107316]: time="2024-03-27T14:47:56.990582431-03:00" level=info msg="Starting up"
mar 27 14:47:57 isengard dockerd[107316]: time="2024-03-27T14:47:57.004161007-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:47:57 isengard dockerd[107316]: time="2024-03-27T14:47:57.004180894-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:47:57 isengard dockerd[107316]: time="2024-03-27T14:47:57.004303662-03:00" level=info msg="Loading containers: start."
mar 27 14:47:57 isengard dockerd[107316]: time="2024-03-27T14:47:57.005397928-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:47:57 isengard dockerd[107316]: time="2024-03-27T14:47:57.006975864-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:47:57 isengard dockerd[107316]: time="2024-03-27T14:47:57.316356563-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:47:57 isengard dockerd[107316]: time="2024-03-27T14:47:57.316725419-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:47:57 isengard dockerd[107316]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:47:57 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:47:57 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:47:57 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:47:59 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
mar 27 14:47:59 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.394750775-03:00" level=info msg="Starting up"
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.407954835-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.407970765-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.408083815-03:00" level=info msg="Loading containers: start."
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.409105947-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.410656663-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.670027024-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:47:59 isengard dockerd[107403]: time="2024-03-27T14:47:59.670348653-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:47:59 isengard dockerd[107403]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:47:59 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:47:59 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:47:59 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:48:01 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
mar 27 14:48:01 isengard systemd[1]: docker.service: Start request repeated too quickly.
mar 27 14:48:01 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:48:01 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:50:21 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.524739028-03:00" level=info msg="Starting up"
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.537295980-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.537314104-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.537434829-03:00" level=info msg="Loading containers: start."
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.538482430-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.552924024-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.819651723-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.819981948-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:50:21 isengard dockerd[108445]: time="2024-03-27T14:50:21.820113213-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:50:21 isengard dockerd[108445]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:50:21 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:50:21 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:50:21 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:50:23 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
mar 27 14:50:23 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:50:23 isengard dockerd[108609]: time="2024-03-27T14:50:23.890809542-03:00" level=info msg="Starting up"
mar 27 14:50:23 isengard dockerd[108609]: time="2024-03-27T14:50:23.902957132-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:50:23 isengard dockerd[108609]: time="2024-03-27T14:50:23.902973472-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:50:23 isengard dockerd[108609]: time="2024-03-27T14:50:23.903090380-03:00" level=info msg="Loading containers: start."
mar 27 14:50:23 isengard dockerd[108609]: time="2024-03-27T14:50:23.904070185-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:50:23 isengard dockerd[108609]: time="2024-03-27T14:50:23.905689221-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:50:24 isengard dockerd[108609]: time="2024-03-27T14:50:24.137103301-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:50:24 isengard dockerd[108609]: time="2024-03-27T14:50:24.137452292-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:50:24 isengard dockerd[108609]: time="2024-03-27T14:50:24.137626646-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:50:24 isengard dockerd[108609]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:50:24 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:50:24 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:50:24 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:50:26 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
mar 27 14:50:26 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.209824416-03:00" level=info msg="Starting up"
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.222456498-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.222473831-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.222578496-03:00" level=info msg="Loading containers: start."
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.223698763-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.225345801-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.488564327-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.488916233-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:50:26 isengard dockerd[108746]: time="2024-03-27T14:50:26.489048950-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:50:26 isengard dockerd[108746]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:50:26 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 14:50:26 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:50:26 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 14:50:28 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
mar 27 14:50:28 isengard systemd[1]: docker.service: Start request repeated too quickly.
mar 27 14:50:28 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 14:50:28 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 15:39:26 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 15:39:26 isengard dockerd[146165]: time="2024-03-27T15:39:26.939474361-03:00" level=info msg="Starting up"
mar 27 15:39:26 isengard dockerd[146165]: time="2024-03-27T15:39:26.956103971-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 15:39:26 isengard dockerd[146165]: time="2024-03-27T15:39:26.956122966-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 15:39:26 isengard dockerd[146165]: time="2024-03-27T15:39:26.957745517-03:00" level=info msg="Loading containers: start."
mar 27 15:39:26 isengard dockerd[146165]: time="2024-03-27T15:39:26.959613415-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 15:39:26 isengard dockerd[146165]: time="2024-03-27T15:39:26.966229994-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 15:39:27 isengard dockerd[146165]: time="2024-03-27T15:39:27.238228722-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 15:39:27 isengard dockerd[146165]: time="2024-03-27T15:39:27.238577111-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 15:39:27 isengard dockerd[146165]: time="2024-03-27T15:39:27.238701543-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 15:39:27 isengard dockerd[146165]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 15:39:27 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 15:39:27 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 15:39:27 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 15:39:29 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
mar 27 15:39:29 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.289584834-03:00" level=info msg="Starting up"
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.302380246-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.302397258-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.302518253-03:00" level=info msg="Loading containers: start."
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.303586532-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.305242886-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.586127151-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.586452357-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 15:39:29 isengard dockerd[146320]: time="2024-03-27T15:39:29.586563223-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 15:39:29 isengard dockerd[146320]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 15:39:29 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 15:39:29 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 15:39:29 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 15:39:31 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
mar 27 15:39:31 isengard systemd[1]: Starting Docker Application Container Engine...
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.666372657-03:00" level=info msg="Starting up"
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.679182186-03:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.679200891-03:00" level=error msg="exec: \"fuse-overlayfs\": executable file not found in $PATH" storage-driver=fuse-overlayfs
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.679305125-03:00" level=info msg="Loading containers: start."
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.680402238-03:00" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.6.22-1-lts\nmodprobe: WARNING: Module br_netfilter not found in directory /lib/modules/6.6.22-1-lts\n, error: exit status 1"
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.681936264-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.962620480-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.962992272-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 15:39:31 isengard dockerd[146431]: time="2024-03-27T15:39:31.963129698-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 15:39:31 isengard dockerd[146431]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 15:39:31 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
mar 27 15:39:31 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 15:39:32 isengard systemd[1]: Failed to start Docker Application Container Engine.
mar 27 15:39:33 isengard systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
mar 27 15:39:33 isengard systemd[1]: docker.service: Start request repeated too quickly.
mar 27 15:39:33 isengard systemd[1]: docker.service: Failed with result 'exit-code'.
mar 27 15:39:34 isengard systemd[1]: Failed to start Docker Application Container Engine.

Do you mind posting the entire log? Some of the text on the sides are cut.

my bad, hust eddited it

1 Like

Is bridge-utils installed on your system?

What’s the output of lsmod | grep 'bridge'?

mar 27 14:34:41 isengard dockerd[98560]: time="2024-03-27T14:34:41.781443367-03:00" level=info msg="Firewalld: docker zone already exists, returning"
mar 27 14:34:42 isengard dockerd[98560]: time="2024-03-27T14:34:42.025881426-03:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
mar 27 14:34:42 isengard dockerd[98560]: time="2024-03-27T14:34:42.026243432-03:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
mar 27 14:34:42 isengard dockerd[98560]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not supported
mar 27 14:34:42 isengard dockerd[98560]: time="2024-03-27T14:34:42.026409822-03:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
mar 27 14:34:42 isengard systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE

On second thought, it may have something to do with your firewall configurations.

Check the output of this command

$ firewall-cmd --get-active-zones

If everything is working correctly, you should see a zone called docker with two interfaces listed: docker0 and br-XXXX; for example,

docker
  interfaces: br-bd3b7d7345aa docker0

If you don’t see the docker0 interface listed under the docker zone, you need to add it manually, and then reload the firewall daemon.

$ sudo firewall-cmd --permanent --zone=docker --change-interface=docker0
$ sudo firewall-cmd --reload
firewall-cmd --get-active-zones
docker
  interfaces: docker0
public (default)
  interfaces: eno1

Seems to be alright. What else can be the issue?

The main issue is that the kernel you are currently running is missing the bridge and br_netfilter modules. First, check inside the modules directory and see if the bridge module is present

$ cd /lib/modules/6.6.22-1-lts/kernel/net
$ ls -l | grep "bridge"

Chances are that the second command will return nothing. If that’s the case, then we can confirm that the bridge module is indeed missing, in which case you should update/reinstall the kernel and then try again.

2 Likes

Unfortunately not the case:

vfbsilva@isengard ~ $ cd /lib/modules/6.6.22-1-lts/kernel/net
bash: cd: /lib/modules/6.6.22-1-lts/kernel/net: Arquivo ou diretΓ³rio inexistente
vfbsilva@isengard ~ $ cd /lib/modules/6.6.23-1-lts/kernel/net/
vfbsilva@isengard /lib/modules/6.6.23-1-lts/kernel/net $ ls -l | grep "bridge"
drwxr-xr-x 3 root root 4096 mar 27 14:22 bridge
vfbsilva@isengard /lib/modules/6.6.23-1-lts/kernel/net $ 

Can you clarify what you mean by this? Did docker.service still fail to start after upgrading your kernel or…?

The bridge module now exists after you updated your kernel. Can you try to start docker.service again? The previous attempt failed because modprobe wasn’t able to find the bridge module. But now the bridge module exists.

I think it is working:

● docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: disabled)
     Active: active (running) since Thu 2024-03-28 01:12:39 -03; 10h ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 952 (dockerd)
      Tasks: 22
     Memory: 111.0M (peak: 114.9M)
        CPU: 3.335s
     CGroup: /system.slice/docker.service
             └─952 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

mar 28 01:12:38 isengard dockerd[952]: time="2024-03-28T01:12:38.940959020-03:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning"
mar 28 01:12:38 isengard dockerd[952]: time="2024-03-28T01:12:38.946101647-03:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning"
mar 28 01:12:39 isengard dockerd[952]: time="2024-03-28T01:12:39.368777615-03:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --b>
mar 28 01:12:39 isengard dockerd[952]: time="2024-03-28T01:12:39.393428424-03:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning"
mar 28 01:12:39 isengard dockerd[952]: time="2024-03-28T01:12:39.462826478-03:00" level=info msg="Loading containers: done."
mar 28 01:12:39 isengard dockerd[952]: time="2024-03-28T01:12:39.492184777-03:00" level=warning msg="Not using native diff for overlay2, this may cause degraded performance for building >
mar 28 01:12:39 isengard dockerd[952]: time="2024-03-28T01:12:39.492224752-03:00" level=info msg="Docker daemon" commit=8b79278316 containerd-snapshotter=false storage-driver=overlay2 ve>
mar 28 01:12:39 isengard dockerd[952]: time="2024-03-28T01:12:39.492839507-03:00" level=info msg="Daemon has completed initialization"
mar 28 01:12:39 isengard systemd[1]: Started Docker Application Container Engine.
mar 28 01:12:39 isengard dockerd[952]: time="2024-03-28T01:12:39.515601786-03:00" level=info msg="API listen on /run/docker.sock"
lines 1-22/22 (END)

That’s to be expected because the required kernel module is now present.

There was something wrong with your kernel installation previously, which led to the missing bridge module. Should work after you reinstalled the kernel.

docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c1ec31eb5944: Pull complete 
Digest: sha256:53641cd209a4fecfc68e21a99871ce8c6920b2e7502df0a20671c6fccc73a7c6
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:

https://docs.docker.com/get-started/

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.