æ¦è¦
- EC2ãã·ã³ä¸ã§ãdocker-compose buildãå®è¡ããã¨load metadata for docker.io/library/xxxxx:y.zzã¨ããã¨ã©ã¼ãçºçãã
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = DeadlineExceeded desc = failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fxxxx%3Apull&service=registry.docker.io": dial tcp xxx.xxx.xxx.xxxx:443: i/o timeout
æ³å®ç°å¢
- AWSã«ããã¦ããªã³ãã¬ç°å¢ãçµç±ãã¦ãå¤é¨ãããã¯ã¼ã¯ã«æ¥ç¶ãã¦ãã
対å¿æ¹æ³
- åç°å¢å¤æ°ã«ãããã·èªè¨¼ã»æ¥ç¶æ
å ±ãè¨å®ããå¿
è¦ããã
- HTTP_PROXY
- HTTPS_PROXY
- http_proxy
- https_proxy
export USER_ID=your_user_id export PASSWORD=your_password export PROXY_SERVER_NAME=your_proxy_server_name export PROXY_SERVER_PORT=8080 echo 'export USER_ID=${USER_ID}' >> ~/.bash_profile echo 'export PASSWORD=${PASSWORD}' >> ~/.bash_profile echo 'export HTTP_PROXY=http://${USER_ID}:${PASSWORD}@${PROXY_SERVER_NAME}:${PROXY_SERVER_PORT}' >> ~/.bash_profile echo 'export HTTPS_PROXY=http://${USER_ID}:${PASSWORD}@${PROXY_SERVER_NAME}:${PROXY_SERVER_PORT}' >> ~/.bash_profile echo 'export http_proxy=http://${USER_ID}:${PASSWORD}@${PROXY_SERVER_NAME}:${PROXY_SERVER_PORT}' >> ~/.bash_profile echo 'export https_proxy=http://${USER_ID}:${PASSWORD}@${PROXY_SERVER_NAME}:${PROXY_SERVER_PORT}' >> ~/.bash_profile echo 'export no_proxy=localhost,127.0.0.1',169.254.169.254 >> ~/.bash_profile source ~/.bash_profile
docker.serviceã«å¯¾ãã¦ãããã·èªè¨¼è¨å®ãå®æ½ãã¦ããã°è¯ããã®ã¨æã£ã¦ããããç°å¢å¤æ°ã®è¨å®ãå¿ è¦ã ã£ãã