This repository was archived by the owner on Jan 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
Multiple errors: moddep, iptables, permission denied #24
Copy link
Copy link
Open
Description
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!
Metadata
Metadata
Assignees
Labels
No labels