Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu-base-ci.DockerFile 报错 #85

Open
notinghere opened this issue Oct 16, 2024 · 2 comments
Open

ubuntu-base-ci.DockerFile 报错 #85

notinghere opened this issue Oct 16, 2024 · 2 comments

Comments

@notinghere
Copy link

  • 执行 docker build -t ubase:v1 -f ubuntu-base-ci.DockerFile .
  • 报错信息如下
    Sending build context to Docker daemon 44.54 kB Step 1/12 : FROM ubuntu:jammy Trying to pull repository docker.io/library/ubuntu ... Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
@zimu-yuxi
Copy link

引入ubuntu:jammy,在拉取dockerhub镜像时超时,可以尝试配置国内镜像源加速

@zimu-yuxi
Copy link

也可以在国内镜像源找下可替换ubuntu:jammy的国内镜像,修改dockerfile后再次尝试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants