跳转到内容
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 镜像求助

发表于

Ubuntu 系统,正常安装完 docker 后尝试启动 hello world ,但是得到错误提示

root@me-VirtualBox:/etc/docker# sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.

鉴于校园网有屏蔽谷歌个别路由的恶劣情况,遂切换至手机热点执行相同操作,结果比较吊诡的是居然换了网还是连不上。

然后又尝试换源,换源无效,错误提示仍然是 https://registry-1.docker.io/v2/的坏请求,个人感觉是换源没装上。但是教程确实是说修改/etc/docker/daemon.json

有没有老哥来看看啥问题,不能用 docker 也太氮疼了

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.