Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker daemon fails to start on Arch Linux with "package not installed" #6853

Closed
ghost opened this issue Jul 4, 2014 · 12 comments
Closed

Docker daemon fails to start on Arch Linux with "package not installed" #6853

ghost opened this issue Jul 4, 2014 · 12 comments

Comments

@ghost
Copy link

ghost commented Jul 4, 2014

https://gist.github.com/harry-wheildon/776650ce5a8ed2955077

Getting this error when attempting to start docker. I've installed via the community package DB, and have all dependencies installed. This was working before.

If it helps, I've recently upgraded my kernel. Not exactly sure if it's related. :)

@ghost ghost changed the title Docker daemon fails to start on Arch Linux Docker daemon fails to start on Arch Linux with "package not installed" Jul 4, 2014
@lrivallain
Copy link

...
[3026ae5b.init_networkdriver()] creating new bridge for docker0
package not installed
...

Can you check that you have bridge-utils package installed?

pacman -Qs bridge-utils

@ghost
Copy link
Author

ghost commented Jul 7, 2014

haz ~ $ sudo pacman -Qs bridge-utils
local/bridge-utils 1.5-2
    Utilities for configuring the Linux ethernet bridge

@lrivallain
Copy link

Ok! Can you try:

lsmode | grep bridge

If no result you should have to load bridge module for your new kernel:

modprobe bridge

@ghost
Copy link
Author

ghost commented Jul 7, 2014

Awesome! It seems to have worked. I'll put it down to an issue during upgrade. Closing now - but thanks. :)

@ghost ghost closed this as completed Jul 7, 2014
@pirj
Copy link

pirj commented Dec 4, 2014

If it still doesn't work:

  • for those who disabled ipv6, check modinfo bridge and if bridge depends on ipv6, enable it back.
  • if modprobe bridge does nothing, reboot and repeat.

@cosmicnag
Copy link

Not working in current 3.18.6-1-ARCH kernel,even after loading the bridge module...

modinfo bridge gives :

filename:       /lib/modules/3.18.6-1-ARCH/kernel/net/bridge/bridge.ko.gz
alias:          rtnl-link-bridge
version:        2.3
license:        GPL
srcversion:     3E221B185E69C8D7F76C7EC
depends:        stp,llc
intree:         Y
vermagic:       3.18.6-1-ARCH SMP preempt mod_unload modversions 

ip link does not show the docker0 bridge like it used to, and brctl show shows nothing.

Checked the timestamps on my pacman pkg cache dir, and 3.18.6-1 kernel happened on Feb 7. I'm quite certain docker was working well after that, then boom - suddenly stopped. The whole bridge interface is gone...

EDIT :

When trying to run docker -d

INFO[0000] +job serveapi(unix:///var/run/docker.sock)   
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) 
FATA[0000] invalid character '\x00' looking for beginning of value

@ghost
Copy link
Author

ghost commented Mar 1, 2015

mrgreen@arch docker]$ modinfo bridge
filename:       /lib/modules/3.18.6-1-ARCH/kernel/net/bridge/bridge.ko.gz
alias:          rtnl-link-bridge
version:        2.3
license:        GPL
srcversion:     3E221B185E69C8D7F76C7EC
depends:        stp,llc
intree:         Y
vermagic:       3.18.6-1-ARCH SMP preempt mod_unload modversions 

Getting error as above.... real shame was looking forward too testing docker....

@ghost
Copy link
Author

ghost commented Mar 1, 2015

FATA[0000] Post http:///var/run/docker.sock/v1.17/images/create?fromSrc=-&repo=archlinux: dial unix /var/run/docker.sock: no such file or directory

@cosmicnag
Copy link

Had to delete /var/lib/docker and /var/run/docker.* manually , then got it working.
https://bbs.archlinux.org/viewtopic.php?pid=1506483#p1506483

@r3k2
Copy link

r3k2 commented Apr 29, 2015

OK NEVERMIND I HAD RE REBOOT and now is working..

hello, same issue here..

uname -a
Linux alarmpi 3.18.10-2-ARCH #1 SMP PREEMPT Fri Mar 27 19:59:03 MDT 2015 armv7l GNU/Linux

but I get no output with modinfo
[root@alarmpi ~]# modinfo bridge
modinfo: ERROR: Module alias bridge not found
but I did install it.. the pacman -S docker pulled down for me.
also...
[root@alarmpi ~]# locate bridge.ko
/usr/lib/modules/3.18.12-1-ARCH/kernel/net/bridge/bridge.ko.gz
/usr/lib/modules/3.18.12-1-ARCH/kernel/net/bridge/netfilter/nf_log_bridge.ko.gz
/usr/lib/modules/3.18.12-1-ARCH/kernel/net/bridge/netfilter/nf_tables_bridge.ko.gz
/usr/lib/modules/3.18.12-1-ARCH/kernel/net/bridge/netfilter/nft_reject_bridge.ko.gz

what im doing wrong? this is for raspberry 2.

insmod /usr/lib/modules/3.18.12-1-ARCH/kernel/net/bridge/bridge.ko.gz
insmod: ERROR: could not insert module /usr/lib/modules/3.18.12-1-ARCH/kernel/net/bridge/bridge.ko.gz: Unknown symbol in module

@roadev
Copy link

roadev commented Jul 19, 2015

I just run: sudo docker -d
Then sudo docker info

@vanga
Copy link

vanga commented Jul 26, 2015

lsmode | grep bridge

gives nothing

so, I did modprobe bridge as suggested, and then rebooted my EC2, it gets shut down automatically after trying to initialize

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants