Docker error: HTTP 408 response body: invalid character '<' looking for beginning of value

前端 未结 2 3958
清酒与你
清酒与你 2020-12-10 21:50

When I go docker pull hello-world I get the below error message:

Error response from daemon: error parsing HTTP 408 response body: invalid charact

2条回答
  •  暖寄归人
    2020-12-10 22:23

    The error message is little misleading. The problem was not that there was invalid character, but the network was misconfigured. I had one LAN interface and one WLAN interface.

    LAN interface connects to a router A which forward requests to router B which was connected to internet. While the WLAN interface was directly connected to router B. I forgot to remove the WLAN configuration.

    Once I ensured the WLAN interface is removed, things worked smoothly.

    In short: Ensured DNS resolution works and that MTU is set right

提交回复
热议问题