Docker + ipv6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

i want to use docker with ipv6.

i install docker and edit the /etc/docker/daemon.json:
{
  "ipv6": true
}


Message:

[root@froodo network-scripts]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Do 2018-12-27 12:46:22 CET; 1min 17s ago
     Docs: http://docs.docker.com
 Main PID: 15041 (code=exited, status=1/FAILURE)

Dez 27 12:46:21 froodo.org dockerd-current[15041]: time="2018-12-27T12:46:21.570534716+01:00" level=info msg="libcontainerd: new containerd process, pid: 15045"
Dez 27 12:46:22 froodo.org dockerd-current[15041]: time="2018-12-27T12:46:22.673394351+01:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Dez 27 12:46:22 froodo.org dockerd-current[15041]: time="2018-12-27T12:46:22.674651938+01:00" level=info msg="Loading containers: start."
Dez 27 12:46:22 froodo.org dockerd-current[15041]: time="2018-12-27T12:46:22.700417054+01:00" level=info msg="Firewalld running: true"
Dez 27 12:46:22 froodo.org dockerd-current[15041]: time="2018-12-27T12:46:22.903025438+01: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"
Dez 27 12:46:22 froodo.org dockerd-current[15041]: Error starting daemon: Error initializing network controller: Error creating default "bridge" network: could not find an available, non-overlapping IPv6 address pool among the defaults to assign to the network
Dez 27 12:46:22 froodo.org systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Dez 27 12:46:22 froodo.org systemd[1]: Failed to start Docker Application Container Engine.
Dez 27 12:46:22 froodo.org systemd[1]: Unit docker.service entered failed state.
Dez 27 12:46:22 froodo.org systemd[1]: docker.service failed.



My ip config:

[root@froodo network-scripts]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 96:00:00:17:06:a4 brd ff:ff:ff:ff:ff:ff
    inet 116.203.40.3/32 brd 116.203.40.3 scope global dynamic eth0
       valid_lft 84360sec preferred_lft 84360sec
    inet6 2a01:4f8:1c0c:7c6c::1/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::9400:ff:fe17:6a4/64 scope link
       valid_lft forever preferred_lft forever


I tried a lot of things from differnt howtos, but only with no success.

What the next steps to running docker with ipv6?

Thx.

Joe

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux