moby: 1.7.0/CentOS/RHEL 6.6 - bridge interface creation fails. daemon won't start.
Can’t provide docker info, since daemon won’t start.
# docker -D -d
DEBU[0000] Registering POST, /containers/{name:.*}/unpause
DEBU[0000] Registering POST, /containers/{name:.*}/restart
DEBU[0000] Registering POST, /exec/{name:.*}/resize
DEBU[0000] Registering POST, /containers/create
DEBU[0000] Registering POST, /containers/{name:.*}/kill
DEBU[0000] Registering POST, /containers/{name:.*}/start
DEBU[0000] Registering POST, /containers/{name:.*}/stop
DEBU[0000] Registering POST, /containers/{name:.*}/resize
DEBU[0000] Registering POST, /auth
DEBU[0000] Registering POST, /build
DEBU[0000] Registering POST, /containers/{name:.*}/wait
DEBU[0000] Registering POST, /containers/{name:.*}/attach
DEBU[0000] Registering POST, /containers/{name:.*}/copy
DEBU[0000] Registering POST, /containers/{name:.*}/exec
DEBU[0000] Registering POST, /exec/{name:.*}/start
DEBU[0000] Registering POST, /commit
DEBU[0000] Registering POST, /images/create
DEBU[0000] Registering POST, /images/load
DEBU[0000] Registering POST, /images/{name:.*}/push
DEBU[0000] Registering POST, /images/{name:.*}/tag
DEBU[0000] Registering POST, /containers/{name:.*}/pause
DEBU[0000] Registering POST, /containers/{name:.*}/rename
DEBU[0000] Registering DELETE, /containers/{name:.*}
DEBU[0000] Registering DELETE, /images/{name:.*}
DEBU[0000] Registering OPTIONS,
DEBU[0000] Registering GET, /version
DEBU[0000] Registering GET, /containers/ps
DEBU[0000] Registering GET, /containers/{name:.*}/changes
DEBU[0000] Registering GET, /images/{name:.*}/history
DEBU[0000] Registering GET, /containers/json
DEBU[0000] Registering GET, /containers/{name:.*}/export
DEBU[0000] Registering GET, /containers/{name:.*}/json
DEBU[0000] Registering GET, /events
DEBU[0000] Registering GET, /images/search
DEBU[0000] Registering GET, /images/get
DEBU[0000] Registering GET, /images/{name:.*}/get
DEBU[0000] Registering GET, /exec/{id:.*}/json
DEBU[0000] Registering GET, /info
DEBU[0000] Registering GET, /containers/{name:.*}/top
DEBU[0000] Registering GET, /containers/{name:.*}/logs
DEBU[0000] Registering GET, /containers/{name:.*}/stats
DEBU[0000] Registering GET, /_ping
DEBU[0000] Registering GET, /images/json
DEBU[0000] Registering GET, /images/{name:.*}/json
DEBU[0000] Registering GET, /containers/{name:.*}/attach/ws
WARN[0000] You are running linux kernel version 2.6.32-504.8.1.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.10.0.
DEBU[0000] Warning: could not change group /var/run/docker.sock to docker: Group docker not found
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
DEBU[0000] devicemapper: driver version is 4.27.0
DEBU[0000] Generated prefix: docker-252:3-1311141
DEBU[0000] Checking for existence of the pool 'docker-252:3-1311141-pool'
DEBU[0000] Pool doesn't exist. Creating it.
DEBU[0000] Error retrieving the next available loopback: open /dev/loop-control: no such file or directory
DEBU[0000] Error retrieving the next available loopback: open /dev/loop-control: no such file or directory
DEBU[0000] [deviceset] constructDeviceIdMap()
DEBU[0000] Loading data for file /var/lib/docker/devicemapper/metadata/base
DEBU[0000] Added deviceId=1 to DeviceIdMap
DEBU[0000] Skipping file /var/lib/docker/devicemapper/metadata/deviceset-metadata
DEBU[0000] Loading data for file /var/lib/docker/devicemapper/metadata/transaction-metadata
DEBU[0000] Added deviceId=1 to DeviceIdMap
DEBU[0000] [deviceset] constructDeviceIdMap() END
INFO[0000] [graphdriver] using prior storage driver "devicemapper"
DEBU[0000] Using graph driver devicemapper
DEBU[0000] Using default logging driver json-file
DEBU[0000] Creating images graph
DEBU[0000] Restored 0 elements
DEBU[0000] Creating repository list
WARN[0000] Running modprobe bridge nf_nat failed with message: , error: exit status 1
DEBU[0000] /sbin/iptables, [-t nat -D PREROUTING -m addrtype --dst-type LOCAL -j DOCKER]
DEBU[0000] /sbin/iptables, [-t nat -D OUTPUT -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER]
DEBU[0000] /sbin/iptables, [-t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER]
DEBU[0000] /sbin/iptables, [-t nat -D PREROUTING]
DEBU[0000] /sbin/iptables, [-t nat -D OUTPUT]
DEBU[0000] /sbin/iptables, [-t nat -F DOCKER]
DEBU[0000] /sbin/iptables, [-t nat -X DOCKER]
DEBU[0000] [deviceset docker-252:3-1311141] Shutdown()
DEBU[0000] [devmapper] Shutting down DeviceSet: /var/lib/docker/devicemapper
DEBU[0000] [devmapper] deactivateDevice()
DEBU[0000] [devmapper] deactivateDevice END()
DEBU[0000] [devmapper] deactivatePool()
DEBU[0000] [devmapper] devicemapper.GetDeps() /dev/mapper/docker-252:3-1311141-pool: &devicemapper.Deps{Count:0x2, Filler:0x0, Device:[]uint64(nil)}
DEBU[0000] [devmapper] deactivatePool END
DEBU[0000] [deviceset docker-252:3-1311141] Shutdown() END
FATA[0000] Error starting daemon: Error initializing network controller: Error creating default "bridge" network: operation not supported
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 49 (14 by maintainers)
sooooo… for me, this is resolved by:
su root
yum remove docker-engine
yum install lxc
*3)yum install docker-io
docker -d -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375
yum remove docker-io
*5)yum install docker-engine
docker -d -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375
service docker start
*NOTE: in 3 & 5 I had downloaded each docker rpm individually and was installing from the local directory download urls: https://dl.fedoraproject.org/pub/epel/testing/6/x86_64/docker-io-1.6.2-1.el6.x86_64.rpm and https://get.docker.com/rpm/1.7.0/centos-6/RPMS/x86_64/docker-engine-1.7.0-1.el6.x86_64.rpm
…absence of issue when progressing from 1.6.2 to 1.7.0 is probably why it was not caught in development…