I dont need a GUA’s.
I just need my docker network to be aware of the LLA’s
My ip a
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80::1/64 scope link
valid_lft forever preferred_lft forever
inet6 fe80::42:d7ff:fe36:f08b/64 scope link
valid_lft forever preferred_lft forever
291: br-32c97f753dca: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 172.20.0.1/16 brd 172.20.255.255 scope global br-32c97f753dca
valid_lft forever preferred_lft forever
inet6 fe80::42:deff:febd:d65b/64 scope link
valid_lft forever preferred_lft forever
293: veth51720c0@if292: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-32c97f753dca state UP group default
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::2899:80ff:feed:f666/64 scope link
valid_lft forever preferred_lft forever
295: vetha464a10@if294: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-32c97f753dca state UP group default
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet6 fe80::941a:eaff:fe4e:a2d6/64 scope link
valid_lft forever preferred_lft forever
...
I dont understand what I need to do to enable ipv6 in my created bridge network.
I create it simply via:
docker network create nginx-proxy
Inspecting the network
shows that no ipv6 address are given.
"Containers": {
"xxx": {
"Name": "container_1",
"EndpointID": "xxx",
"MacAddress": "xx:xx:xx:xx:xx:xx",
"IPv4Address": "172.20.0.8/16",
"IPv6Address": ""
},
"4f84ab671ee3c25cefe5b1b75fdedbf6a019b72d70044f17db9384a8ddc46abc": {
"Name": "container_2",
"EndpointID": "xxx",
"MacAddress": "xx:xx:xx:xx:xx:xx",
"IPv4Address": "172.20.0.4/16",
"IPv6Address": ""
},
As you mentioned, docker0 and all my container get a LLA tho. But they have no ipv6 availability inside the container; they cant communicate via ipv6.
Docker does this without enableing ipv6 in /etc/docker/daemon.json.
I dont understand why my network doesnt automatically take over those ipv6 addresses.
I need docker container to be able to communicate via ipv6 because collabora get connections from a nextcloud container via office.example.tld, which resolves in a ipv6 address and inside the docker network this results in Network is unreachable
Edit:
I have a nginx-proxy container. I listen on 80, [::]:80 and 443, [::]:443. Do I even need a ipv6 network if the proxy_pass resolves to a ipv4 inside the docker network?
What is it, that I still dont understand?