FS#53716 - [docker] Docker removes IPv6 addresses from ethernet interface

Attached to Project: Community Packages
Opened by Luca Weiss (z3ntu) - Wednesday, 19 April 2017, 13:16 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 05 May 2017, 20:42 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I start a docker container with
sudo docker run --rm --net=host -i -t alpine /bin/sh
and I have docker 1:17.04.0-1 installed, my enp3s0 (ethernet) interface loses it's IPv6 addresses. The same problem doesn't happen anymore after I have downgraded to docker 1:17.03.1-1.
"ip addr" output before and after: https://gist.github.com/z3ntu/d6926d4e0c3ccc77601413d97d6402fd

When removing --net=host the issue doesn't exist.

Additional info:
* 1:17.03.1-1 is fine, 1:17.04.0-1 has the problem
* Log from journalctl: https://gist.github.com/z3ntu/bc71c03554e429f70798a35589e24668


Steps to reproduce:
- I get my IPv6 & IPv4 from my DHCP server which is provided by the "router" from my ISP.
- Start the docker image with the command above (or --net=host)
- Lose your ipv6 addresses
- Start
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Friday, 05 May 2017, 20:42 GMT
Reason for closing:  Won't fix
Additional comments about closing:  will be fixed in next stable release
Comment by Luca Weiss (z3ntu) - Wednesday, 19 April 2017, 13:20 GMT
Upstream bug report: https://github.com/docker/libnetwork/issues/1720
Patch: https://github.com/docker/libnetwork/pull/1711
And also Docker 17.05 will have the fix.

Loading...