You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in China and the docker registry is blocked by China GFW. So I have to use "http_proxy" to redirect request to the proxy out of China.
I have tried docker logout and docker login on host. It shows "Login Succeeded".
I can pull/push image from/to my repository of docker hub on host. While it not works on buildx container which with "--driver=docker-container".
The docker daemon on host and buildx container both export same environment variables "http_proxy" and "https_proxy".
Run docker buildx build --push and it failed with "failed to resolve source metadata for docker.io/library/alpine:3.21.3: failed to authorize: failed to fetch oauth token: Post "https://auth.docker.io/token": read tcp 192.168.1.40:65061->44.208.254.194:443: read: connection reset by peer".
Description
I'm in China and the docker registry is blocked by China GFW. So I have to use "http_proxy" to redirect request to the proxy out of China.
I have tried
docker logout
anddocker login
on host. It shows "Login Succeeded".I can pull/push image from/to my repository of docker hub on host. While it not works on buildx container which with "--driver=docker-container".
The docker daemon on host and buildx container both export same environment variables "http_proxy" and "https_proxy".
Run
docker buildx build --push
and it failed with "failed to resolve source metadata for docker.io/library/alpine:3.21.3: failed to authorize: failed to fetch oauth token: Post "https://auth.docker.io/token": read tcp 192.168.1.40:65061->44.208.254.194:443: read: connection reset by peer".Environment
The text was updated successfully, but these errors were encountered: