docker run 报错 Error starting userland proxy: listen tcp6 [::]:: socket: address family not supported by protocol.
场景:执行 docker run
失败
报错:Error starting userland proxy: listen tcp6 [::]:: socket: address family not supported by protocol.
一个解决方法:
即修改命令,指定 ipv4 格式的地址(默认是 ipv6),比如 docker run -p 0.0.0.0:8080:8080 xxxx
issue链接:https://github.com/moby/moby/issues/42288
上文回复链接:https://github.com/moby/moby/issues/42288#issuecomment-820134440
沉舟侧畔千帆过,病树前头万木春。