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

Multiple errors: moddep, iptables, permission denied #24

Open
michel-kraemer opened this issue Apr 23, 2016 · 2 comments
Open

Multiple errors: moddep, iptables, permission denied #24

michel-kraemer opened this issue Apr 23, 2016 · 2 comments

Comments

@michel-kraemer
Copy link

I get the following error when I run docker-compose up. I'm using the latest version from master ab21206.

Step 11 : RUN docker -d -b none -s vfs & sleep 1; docker pull cirros
 ---> Running in 3336f010c690
Warning: '-d' is deprecated, it will be removed soon. See usage.
time="2016-04-23T17:39:32Z" level=warning msg="please use 'docker daemon' instead."
time="2016-04-23T17:39:32.725617767Z" level=info msg="API listen on /var/run/docker.sock"
time="2016-04-23T17:39:32.726098122Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-36-generic/modules.dep.bin'\nmodprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-36-generic/modules.dep.bin'\n, error: exit status 1"
time="2016-04-23T17:39:32.727404753Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-36-generic/modules.dep.bin'`, error: exit status 1"
time="2016-04-23T17:39:32.738520881Z" level=fatal msg="Error starting daemon: Error initializing network controller: error obtaining controller instance: Failed to create NAT chain: iptables failed: iptables -t nat -N DOCKER: iptables v1.4.21: can't initialize iptables table `nat': Permission denied (you must be root)\nPerhaps iptables or your kernel needs to be upgraded.\n (exit status 3)"
Using default tag: latest
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
ERROR: Service 'dockenstack' failed to build: The command '/bin/sh -c docker -d -b none -s vfs & sleep 1; docker pull cirros' returned a non-zero code: 1

Any ideas? Thank you!

@michel-kraemer
Copy link
Author

Possibly a duplicate of #22?

@ewindisch
Copy link
Owner

Thanks. Please make a pull request.

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

2 participants