docker buildx: the builder had a proxy, the client didn't
My image build script started failing on its very first line, FROM python:3.10,
with failed to fetch anonymous token ... TLS handshake timeout. The odd part:
the buildx builder I use is created with a proxy for exactly this reason, and
from another shell the same build worked.
The token request is not made by the builder. It is made by the docker buildx
client in your own shell, using your shell’s proxy variables. My interactive
zsh exports none, so that one request went direct and timed out. Two export
lines in the build script fixed it.




