panbingkun commented on PR #48860:
URL: https://github.com/apache/spark/pull/48860#issuecomment-2503226594

   Add a note (I communicated privately with @LuciferYang and confirmed this). 
   
   - If you encounter similar issues:
   ```
   ERROR: failed to solve: ubuntu:jammy-20240911.1: failed to resolve source 
metadata for docker.io/library/ubuntu:jammy-20240911.1: failed to authorize: 
failed to fetch oauth token: Post "https://auth.docker.io/token": read tcp 
192.168.1.23:49300->54.236.113.205:443: read: connection reset by peer
   ```
   
   - please add the `registry-mirrors` to the file `~/.docker/daemon.json`:
   
   ```shell
   (base) ➜  .docker pwd
   /Users/panbingkun/.docker
   (base) ➜  .docker cat daemon.json
   {
     "builder": {
       "gc": {
         "defaultKeepStorage": "20GB",
         "enabled": true
       }
     },
     "experimental": false,
     "registry-mirrors": [
       "https://registry.docker-cn.com";,
       "http://hub-mirror.c.163.com";,
       "https://docker.mirrors.ustc.edu.cn";,
       "https://dockerhub.azk8s.cn";,
       "https://mirror.ccs.tencentyun.com";,
       "https://registry.cn-hangzhou.aliyuncs.com";,
       "https://docker.mirrors.ustc.edu.cn";,
       "https://docker.1panel.live";,
       "https://atomhub.openatom.cn/";,
       "https://hub.uuuadc.top";,
       "https://docker.anyhub.us.kg";,
       "https://dockerhub.jobcher.com";,
       "https://dockerhub.icu";,
       "https://docker.ckyl.me";,
       "https://docker.awsl9527.cn";
     ]
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to