This has to do with the interplay between requests and urllib3. requests is handing over some parts of the implementation to urllib3, and docker hasn't accounted for this change.