Docker daemon fails with Interface docker0 has no IPv4 addresses

You might come across this error while trying to install DCOS on Centos 7:

FATA[0000] Error starting daemon: Error initializing network controller: Error creating default "bridge" network: Failed to setup IP tables, cannot acquire Interface address: Interface docker0 has no IPv4 addresses

Please ensure you have disabled IPv6 on the host.

If you have IPv6 disabled and are still encountering the issue and you are running docker version 1.10 you might be running into :  https://github.com/docker/libnetwork/issues/892

This should be fixed in docker version 1.11.0 (https://github.com/docker/docker/pull/21019)

As of writing this docker 1.11.0 has not been released yet. So the workaround to this problem would be to install older version of docker (1.9.x).

 

Have more questions? Submit a request

Comments

Powered by Zendesk