Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

The requested URL returned error: 404

Đang mở
#1,092 6 bình luận 3 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, docker-compose, shell
Lĩnh vực
devops

Hướng nghiên cứu

Bắt đầu với tài liệu về tính năng Docker-in-Docker và bước devcontainer-features-install.sh được ghi lại trong log, tập trung vào việc tải xuống docker-compose v2.29.2 trả về 404. Tái hiện quá trình cài đặt tính năng và xác minh rằng docker-compose được cài đặt thành công và tính năng hoàn tất mà không có lỗi thiếu tệp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Installing docker-in-docker fails to curl, not sure what url. How can I fix this?

[dev_containers_target_stage 6/6] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_1,target=/tmp/build-features-src/docker-in-docker_1 cp -ar /tmp/build-features-src/docker-in-docker_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1 && cd /tmp/dev-container-features/docker-in-docker_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/docker-in-docker_1:
0.474 ===========================================================================
0.474 Feature : Docker (Docker-in-Docker)
0.474 Description : Create child containers inside a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.
[2024-08-14T14:52:48.241Z] 0.474 Id : ghcr.io/devcontainers/features/docker-in-docker
0.474 Version : 2.11.0
0.474 Documentation : https://github.com/devcontainers/features/tree/main/src/docker-in-docker
0.474 Options :
0.474 VERSION="latest"
[2024-08-14T14:52:48.241Z] 0.474 MOBY="true"
0.474 MOBYBUILDXVERSION="latest"
0.474 DOCKERDASHCOMPOSEVERSION="v2"
0.474 AZUREDNSAUTODETECTION="true"
0.474 DOCKERDEFAULTADDRESSPOOL=""
0.474 INSTALLDOCKERBUILDX="true"
0.474 INSTALLDOCKERCOMPOSESWITCH="false"
0.474 ===========================================================================
0.500 Distro codename 'focal' matched filter 'bookworm buster bullseye bionic focal jammy noble'
1.005 Get:1 https://packages.microsoft.com/repos/azure-cli focal InRelease [3596 B]
[2024-08-14T14:52:48.241Z] 1.032 Get:2 https://packages.microsoft.com/repos/microsoft-ubuntu-focal-prod focal InRelease [3632 B]
1.058 Get:3 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]
1.163 Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
1.171 Get:5 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
1.192 Get:6 https://packages.microsoft.com/repos/azure-cli focal/main amd64 Packages [1713 B]
1.230 Get:7 https://packages.microsoft.com/repos/azure-cli focal/main all Packages [4113 B]
1.328 Get:8 https://packages.microsoft.com/repos/microsoft-ubuntu-focal-prod focal/main all Packages [2714 B]
1.358 Get:9 https://packages.microsoft.com/repos/microsoft-ubuntu-focal-prod focal/main amd64 Packages [308 kB]
1.460 Get:10 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [58.5 kB]
1.682 Get:11 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
1.723 Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.9 kB]
1.806 Get:13 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
1.842 Get:14 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3867 kB]
1.946 Get:15 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
2.758 Get:16 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3885 kB]
3.431 Get:17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1256 kB]
3.853 Get:18 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
3.853 Get:19 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
3.874 Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
3.999 Get:21 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]
4.012 Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1543 kB]
[2024-08-14T14:52:48.241Z] 4.175 Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4351 kB]
4.488 Get:24 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4018 kB]
[2024-08-14T14:52:48.241Z] 4.805 Get:25 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
4.812 Get:26 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
6.670 Fetched 33.0 MB in 6s (5650 kB/s)
6.670 Reading package lists...
8.464 Docker / Moby CLI and Engine already installed.
8.464 Finished installing docker / moby!
8.717 compose_version=2.29.2
8.717 (*) Installing docker-compose 2.29.2...
8.859 curl: (22) The requested URL returned error: 404
8.863 Error: Failed to install docker-compose v2.29.2
8.864 chmod: cannot access '/usr/local/bin/docker-compose': No such file or directory
8.865 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.


Ngôn ngữ chính
Shell
Star
1.5k
Fork
625
Merge trung bình
2 ngày 17 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của devcontainers/features

Tất cả issue của devcontainers/features

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.