跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[云计算] 阿里云上的 docker build 死活搞不定了

发表于

最简单的,当前目录下有一个 Dockerfile 文件,内容如下:

docker

FROM coturn/coturn:4.6.2-debian

运行docker build -t your-image-name . 进行构建,则出现如下错误信息:

[+] Building 30.1s (2/2) FINISHED                                                                                                                                                             docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                    0.0s
 => => transferring dockerfile: 69B                                                                                                                                                                     0.0s
 => ERROR [internal] load metadata for docker.io/coturn/coturn:4.6.2-debian                                                                                                                            30.0s
------
 > [internal] load metadata for docker.io/coturn/coturn:4.6.2-debian:
------
Dockerfile:1
--------------------
   1 | >>> FROM coturn/coturn:4.6.2-debian
   2 |
--------------------
ERROR: failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: coturn/coturn:4.6.2-debian: failed to resolve source metadata for docker.io/coturn/coturn:4.6.2-debian: failed to authorize: DeadlineExceeded: failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Acoturn%2Fcoturn%3Apull&service=registry.docker.io": dial tcp 31.13.94.7:443: i/o timeout

这上面的 31.13.94.7 是我自己解析的,因为 auth.docker.io 已经被污染了。用 proxychains 来 curl 上面的链接是可以成功的。

已经按照 https://docs.docker.com/engine/daemon/proxy/#httphttps-proxy 的方式为 docker daemon 设置了 proxy 。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.