Docker 1.10 with ipv6 disabled via ipv6.disable=1 fails to start

Solution Unverified - Updated -

Issue

  • Docker 1.10 with ipv6 disabled via ipv6.disable=1 kernel parameter fails to start.
  Jul 11 20:55:44 knakayam-ose32-smaster systemd[1]: Starting Docker Application Container Engine...
  Jul 11 20:55:44 knakayam-ose32-smaster forward-journal[10503]: Forwarding stdin to journald using Priority Informational and tag docker
  Jul 11 20:55:44 knakayam-ose32-smaster forward-journal[10503]: time="2016-07-11T20:55:44.863571209+09:00" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section."
  Jul 11 20:55:44 knakayam-ose32-smaster forward-journal[10503]: time="2016-07-11T20:55:44.897119714+09:00" level=warning msg="devmapper: Base device already exists and has filesystem xfs on it. User specified filesystem  will be ignored."
  Jul 11 20:55:44 knakayam-ose32-smaster forward-journal[10503]: time="2016-07-11T20:55:44.921106225+09:00" level=info msg="[graphdriver] using prior storage driver \"devicemapper\""
  Jul 11 20:55:44 knakayam-ose32-smaster forward-journal[10503]: time="2016-07-11T20:55:44.923003866+09:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
  Jul 11 20:55:44 knakayam-ose32-smaster forward-journal[10503]: time="2016-07-11T20:55:44.939033217+09:00" level=info msg="Firewalld running: true"
  Jul 11 20:55:45 knakayam-ose32-smaster forward-journal[10503]: time="2016-07-11T20:55:45.081397004+09:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
  Jul 11 20:55:45 knakayam-ose32-smaster forward-journal[10503]: time="2016-07-11T20:55:45.213368479+09:00" level=fatal msg="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"

Environment

  • Docker
    • 1.10
  • Kernel boot parameter ipv6.disable=1
  • Red Hat OpenShift Container Platform
    • 3.3 and earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content