BtbN / FFmpeg-Builds

MIT License
6.99k stars 958 forks source link

How to makeimage via SOCK5 proxy #290

Closed shaoshilei closed 10 months ago

shaoshilei commented 10 months ago

When I run ./makeimage win32 gpl, I found that docker runs very very very slowly. Now,I have a SOCK5 proxy. How can I run makeimage by use of SOCK5 proxy?

shaoshilei commented 10 months ago

ps: When docker runs at "[stage-0 1/4] FROM docker.io/library/ubuntu:23.04@sha256:xxxxxxx", it runs very very slowly. It downloads 1.02MB in 1026 seconds. I want to download docker.io/library/ubuntu:23.04 by use of SOCK5 proxy. How can I do?

shaoshilei commented 10 months ago

ErrorInfo: ..................................... => [stage-0 1/4] FROM docker.io/library/ubuntu:23.04@shaxxxxxx => => # error: failed to copy: read tcp 192.168.220.90:40076->104.18.121.25:44 => => # 3: read: connection reset by peer
=> => # retrying in 1s
=> => # error: failed to copy: read tcp 192.168.220.90:53722->104.18.125.25:44 => => # 3: read: connection reset by peer
=> => # retrying in 2s
......................

BtbN commented 10 months ago

I'm not sure if docker supports that. You will have to consult its documentation or support channels.

shaoshilei commented 10 months ago

Thank you.