You are not logged in.

#1 2015-10-17 17:20:04

em_hack
Member
Registered: 2015-10-17
Posts: 2

[SOLVED] Fail to start docker service - bridge not installed

[I post this issue for documentation as I managed to solve it]

Hello,
I have a fresh install of archlinux on my laptop.

I installed docker from pacman : 1.8.3, following the docker documentation:
http://docs.docker.com/installation/archlinux/

After that the service failed to start :

[~]$ sudo systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl
status docker.service" and "journalctl -xe" for details.

[~]$ sudo systemctl status docker -l 
● docker.service - Docker Application Container Engine
  Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
  Active: failed (Result: exit-code) since sam. 2015-10-17 18:42:39 CEST; 21s ago
    Docs: https://docs.docker.com
  Process: 8188 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=1/FAILURE)
Main PID: 8188 (code=exited, status=1/FAILURE)

oct. 17 18:42:39 aaron docker[8188]: time="2015-10-17T18:42:39.480537225+02:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded."
oct. 17 18:42:39 aaron docker[8188]: time="2015-10-17T18:42:39.481059010+02:00" level=info msg="Option DefaultDriver: bridge"
oct. 17 18:42:39 aaron docker[8188]: time="2015-10-17T18:42:39.481084502+02:00" level=info msg="Option DefaultNetwork: bridge"
oct. 17 18:42:39 aaron docker[8188]: time="2015-10-17T18:42:39.482626947+02:00" level=warning msg="Running modprobe bridge nf_nat br_netfilter failed with message: , error: exit status 1"
oct. 17 18:42:39 aaron docker[8188]: time="2015-10-17T18:42:39.484783297+02:00" level=info msg="Firewalld running: false"
oct. 17 18:42:39 aaron docker[8188]: time="2015-10-17T18:42:39.512424803+02:00" level=fatal msg="Error starting daemon: Error initializing network controller: Error creating default \"bridge\" network: package not installed"
oct. 17 18:42:39 aaron systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
oct. 17 18:42:39 aaron systemd[1]: Failed to start Docker Application Container Engine.
oct. 17 18:42:39 aaron systemd[1]: docker.service: Unit entered failed state.
oct. 17 18:42:39 aaron systemd[1]: docker.service: Failed with result 'exit-code'.

Then I realised that

sudo modinfo bridge

wasn't able to find the module. Wich was weird because pacman just installed the "bridge-utils" package as a dependency of docker.

So I did a reboot. And solved this issue smile

Last edited by em_hack (2015-10-17 17:24:09)

Offline

#2 2015-10-18 11:27:07

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] Fail to start docker service - bridge not installed

> Then I realised that 'sudo modinfo bridge' wasn't able to find the module. Wich was weird because pacman just installed the "bridge-utils" package as a dependency of docker. So I did a reboot.

So you found out that you should reboot after updating your kernel, fine. Nothing to do with docker or bridge-utils.


1000

Offline

#3 2015-10-18 16:34:19

em_hack
Member
Registered: 2015-10-17
Posts: 2

Re: [SOLVED] Fail to start docker service - bridge not installed

OK fine I missed the troubleshooting section in the wiki.
https://wiki.archlinux.org/index.php/Do … leshooting

Offline

Board footer

Powered by FluxBB